Skip to content

Commit

Permalink
removing some unused lines per CR. #5202
Browse files Browse the repository at this point in the history
  • Loading branch information
landreev committed Jan 29, 2019
1 parent d849071 commit 6ff028d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/edu/harvard/iq/dataverse/api/Access.java
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/edu/harvard/iq/dataverse/util/LocalBundle.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
public class LocalBundle extends ResourceBundle {

private static final String defaultBundleFile = "Bundle";
//private static ResourceBundle bundle;
//private static Locale bundle_locale;



Expand Down

0 comments on commit 6ff028d

Please sign in to comment.