Add gitignore
This commit is contained in:
parent
d41b412dee
commit
ed7e6929a7
|
@ -1,3 +1,4 @@
|
||||||
|
.attach*
|
||||||
/bin
|
/bin
|
||||||
/target
|
/target
|
||||||
target/
|
target/
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue