Add gitignore

This commit is contained in:
James 2016-09-09 08:32:45 -04:00
parent d41b412dee
commit ed7e6929a7
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.attach*
/bin /bin
/target /target
target/ target/

View File

@ -34,6 +34,7 @@ import java.util.concurrent.ConcurrentHashMap;
*/ */
public class HapiLocalizer { public class HapiLocalizer {
public static final String UNKNOWN_I18N_KEY_MESSAGE = "!MESSAGE!";
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(HapiLocalizer.class); private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(HapiLocalizer.class);
private List<ResourceBundle> myBundle = new ArrayList<ResourceBundle>(); private List<ResourceBundle> myBundle = new ArrayList<ResourceBundle>();
@ -62,7 +63,7 @@ public class HapiLocalizer {
if (formatString == null) { if (formatString == null) {
ourLog.warn("Unknown localization key: {}", theQualifiedKey); ourLog.warn("Unknown localization key: {}", theQualifiedKey);
formatString = "!MESSAGE!"; formatString = UNKNOWN_I18N_KEY_MESSAGE;
} }
return formatString; return formatString;
} }