@@ -93,15 +93,13 @@ public void show(final Window owner) {
9393 }
9494
9595 /**
96- *
9796 * @param ignoreListeners Игнорировать ли слушателей.
9897 */
9998 private void setIgnoreListeners (boolean ignoreListeners ) {
10099 this .ignoreListeners = ignoreListeners ;
101100 }
102101
103102 /**
104- *
105103 * @return Игнорировать ли слушателей.
106104 */
107105 private boolean isIgnoreListeners () {
@@ -235,7 +233,7 @@ public Label getMessageLabel() {
235233 */
236234 private void validate () {
237235
238- if (isIgnoreListeners ()) {
236+ if (isIgnoreListeners ()) {
239237 return ;
240238 }
241239
@@ -257,19 +255,19 @@ private void validate() {
257255 final CheckBox fxaaFilterCheckBox = getFXAAFilterCheckBox ();
258256 final boolean fxaa = fxaaFilterCheckBox .isSelected ();
259257
260- if (currentScreenSize != screenSize ) {
258+ if (currentScreenSize != screenSize ) {
261259 needRestart ++;
262260 }
263261
264- if (currentFXAA != fxaa ) {
262+ if (currentFXAA != fxaa ) {
265263 needRestart ++;
266264 }
267265
268- if (anisotropy != currentAnisotropy ) {
266+ if (anisotropy != currentAnisotropy ) {
269267 needRestart ++;
270268 }
271269
272- if (needRestart > 0 ) {
270+ if (needRestart > 0 ) {
273271 messageLabel .setText (Messages .GRAPHICS_DIALOG_MESSAGE );
274272 } else {
275273 messageLabel .setText (StringUtils .EMPTY );
@@ -339,15 +337,15 @@ private void processOk() {
339337 final CheckBox fxaaFilterCheckBox = getFXAAFilterCheckBox ();
340338 final boolean fxaa = fxaaFilterCheckBox .isSelected ();
341339
342- if (currentScreenSize != screenSize ) {
340+ if (currentScreenSize != screenSize ) {
343341 needRestart ++;
344342 }
345343
346- if (currentFXAA != fxaa ) {
344+ if (currentFXAA != fxaa ) {
347345 needRestart ++;
348346 }
349347
350- if (anisotropy != currentAnisotropy ) {
348+ if (anisotropy != currentAnisotropy ) {
351349 needRestart ++;
352350 }
353351
@@ -356,7 +354,7 @@ private void processOk() {
356354 editorConfig .setScreenSize (screenSize );
357355 editorConfig .save ();
358356
359- if (needRestart > 0 ) {
357+ if (needRestart > 0 ) {
360358 System .exit (2 );
361359 }
362360 }
0 commit comments