add final
authorKevin Lamonte <kevin.lamonte@gmail.com>
Sat, 2 Mar 2019 03:17:13 +0000 (21:17 -0600)
committerKevin Lamonte <kevin.lamonte@gmail.com>
Sat, 2 Mar 2019 03:17:13 +0000 (21:17 -0600)
src/jexer/TExceptionDialog.java
src/jexer/demos/DemoApplication.java
src/jexer/demos/DesktopDemoApplication.java

index 0e06756952bf5195961f333ee8f69238256edd1e..227aceb5764b92d26a0cac983030a0def359a402 100644 (file)
@@ -47,7 +47,7 @@ public class TExceptionDialog extends TWindow {
     /**
      * Translated strings.
      */
-    private static ResourceBundle i18n = ResourceBundle.getBundle(TExceptionDialog.class.getName());
+    private static final ResourceBundle i18n = ResourceBundle.getBundle(TExceptionDialog.class.getName());
 
     // ------------------------------------------------------------------------
     // Constants --------------------------------------------------------------
index 5eb89aee5a26942d7addb43e82e38008a281baba..0e4f189c5760493622bb0ce9c17536de96fc3c13 100644 (file)
@@ -55,7 +55,7 @@ public class DemoApplication extends TApplication {
     /**
      * Translated strings.
      */
-    private static ResourceBundle i18n = ResourceBundle.getBundle(DemoApplication.class.getName());
+    private static final ResourceBundle i18n = ResourceBundle.getBundle(DemoApplication.class.getName());
 
     // ------------------------------------------------------------------------
     // Constructors -----------------------------------------------------------
index 60ef7ec2caf23210857d92edf56288676e58d826..73d0c5f88ae028e8c83fe9b4355ed5c506d4ca50 100644 (file)
@@ -47,7 +47,7 @@ public class DesktopDemoApplication extends TApplication {
     /**
      * Translated strings.
      */
-    private static ResourceBundle i18n = ResourceBundle.getBundle(DesktopDemoApplication.class.getName());
+    private static final ResourceBundle i18n = ResourceBundle.getBundle(DesktopDemoApplication.class.getName());
 
     // ------------------------------------------------------------------------
     // Constructors -----------------------------------------------------------