diff --git a/src/main/java/edu/harvard/iq/dataverse/HarvestingClientsPage.java b/src/main/java/edu/harvard/iq/dataverse/HarvestingClientsPage.java index 53eb7a67826..61f3e41f354 100644 --- a/src/main/java/edu/harvard/iq/dataverse/HarvestingClientsPage.java +++ b/src/main/java/edu/harvard/iq/dataverse/HarvestingClientsPage.java @@ -125,7 +125,6 @@ public String init() { configuredHarvestingClients = harvestingClientService.getAllHarvestingClients(); pageMode = PageMode.VIEW; - /*String localeCode = session.getLocaleCode(); FacesContext.getCurrentInstance().getViewRoot().setLocale(new Locale(localeCode));*/ FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, BundleUtil.getStringFromBundle("harvestclients.title"), BundleUtil.getStringFromBundle("harvestclients.toptip"))); return null; diff --git a/src/main/java/edu/harvard/iq/dataverse/api/Access.java b/src/main/java/edu/harvard/iq/dataverse/api/Access.java index fbe9dac8f6d..332f59dcea9 100644 --- a/src/main/java/edu/harvard/iq/dataverse/api/Access.java +++ b/src/main/java/edu/harvard/iq/dataverse/api/Access.java @@ -108,8 +108,6 @@ import static javax.ws.rs.core.Response.Status.BAD_REQUEST; import javax.ws.rs.core.StreamingOutput; import static edu.harvard.iq.dataverse.util.json.JsonPrinter.json; -import static edu.harvard.iq.dataverse.util.json.JsonPrinter.json; -import static edu.harvard.iq.dataverse.util.json.JsonPrinter.json; /* Custom API exceptions [NOT YET IMPLEMENTED] diff --git a/src/main/java/edu/harvard/iq/dataverse/util/BundleUtil.java b/src/main/java/edu/harvard/iq/dataverse/util/BundleUtil.java index 747dcd2e326..1168a4146b1 100644 --- a/src/main/java/edu/harvard/iq/dataverse/util/BundleUtil.java +++ b/src/main/java/edu/harvard/iq/dataverse/util/BundleUtil.java @@ -17,7 +17,6 @@ public class BundleUtil { private static final Logger logger = Logger.getLogger(BundleUtil.class.getCanonicalName()); private static final String defaultBundleFile = "Bundle"; - //private static Locale bundle_locale; // static ?? public static String getStringFromBundle(String key) { return getStringFromBundle(key, null); diff --git a/src/main/java/edu/harvard/iq/dataverse/util/LocalBundle.java b/src/main/java/edu/harvard/iq/dataverse/util/LocalBundle.java index 701804f330b..4039883138d 100644 --- a/src/main/java/edu/harvard/iq/dataverse/util/LocalBundle.java +++ b/src/main/java/edu/harvard/iq/dataverse/util/LocalBundle.java @@ -6,8 +6,6 @@ public class LocalBundle extends ResourceBundle { private static final String defaultBundleFile = "Bundle"; - //private static ResourceBundle bundle; - //private static Locale bundle_locale;