From: Kevin Lamonte Date: Sat, 2 Mar 2019 03:17:13 +0000 (-0600) Subject: add final X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8994e79675c9d5c6dfc5894c71dc5364c7f2c935;p=fanfix-jexer.git add final --- diff --git a/src/jexer/TExceptionDialog.java b/src/jexer/TExceptionDialog.java index 0e06756..227aceb 100644 --- a/src/jexer/TExceptionDialog.java +++ b/src/jexer/TExceptionDialog.java @@ -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 -------------------------------------------------------------- diff --git a/src/jexer/demos/DemoApplication.java b/src/jexer/demos/DemoApplication.java index 5eb89ae..0e4f189 100644 --- a/src/jexer/demos/DemoApplication.java +++ b/src/jexer/demos/DemoApplication.java @@ -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 ----------------------------------------------------------- diff --git a/src/jexer/demos/DesktopDemoApplication.java b/src/jexer/demos/DesktopDemoApplication.java index 60ef7ec..73d0c5f 100644 --- a/src/jexer/demos/DesktopDemoApplication.java +++ b/src/jexer/demos/DesktopDemoApplication.java @@ -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 -----------------------------------------------------------