From ed7e6929a7f23bf86319bb79ba34b296cb57bcc5 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 9 Sep 2016 08:32:45 -0400 Subject: [PATCH] Add gitignore --- .gitignore | 1 + .../src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b7667af9c7f..6a2618c6a59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.attach* /bin /target target/ diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java index c3f7c5c425f..d31ec8041eb 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/HapiLocalizer.java @@ -34,6 +34,7 @@ import java.util.concurrent.ConcurrentHashMap; */ 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 List myBundle = new ArrayList(); @@ -62,7 +63,7 @@ public class HapiLocalizer { if (formatString == null) { ourLog.warn("Unknown localization key: {}", theQualifiedKey); - formatString = "!MESSAGE!"; + formatString = UNKNOWN_I18N_KEY_MESSAGE; } return formatString; }