From 50a045935284ebd486a7ae675c8253850b4ffefe Mon Sep 17 00:00:00 2001 From: Nick Davis Date: Mon, 21 Apr 2014 15:07:57 -0400 Subject: [PATCH] Added NON-NLS tag to hardcoded strings not needing National Language Support --- .../corecomponentinterfaces/BlackboardResultViewer.java | 2 +- .../corecomponentinterfaces/CoreComponentControl.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/BlackboardResultViewer.java b/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/BlackboardResultViewer.java index ce6da4caef..b487e093d5 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/BlackboardResultViewer.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/BlackboardResultViewer.java @@ -30,7 +30,7 @@ import org.sleuthkit.datamodel.BlackboardArtifact; */ public interface BlackboardResultViewer { - public static final String FINISHED_DISPLAY_EVT = "FINISHED_DISPLAY_EVT"; + public static final String FINISHED_DISPLAY_EVT = "FINISHED_DISPLAY_EVT"; //NON-NLS /** diff --git a/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/CoreComponentControl.java b/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/CoreComponentControl.java index 43b3c63629..3f93665b11 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/CoreComponentControl.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponentinterfaces/CoreComponentControl.java @@ -55,11 +55,11 @@ public class CoreComponentControl { Collection dataExplorers = Lookup.getDefault().lookupAll(DataExplorer.class); for (DataExplorer de : dataExplorers) { TopComponent explorerWin = de.getTopComponent(); - Mode m = WindowManager.getDefault().findMode("explorer"); + Mode m = WindowManager.getDefault().findMode("explorer"); //NON-NLS if (m != null) { m.dockInto(explorerWin); // redock into the explorer mode } else { - logger.log(Level.WARNING, "Could not find explorer mode and dock explorer window"); + logger.log(Level.WARNING, "Could not find explorer mode and dock explorer window"); //NON-NLS } explorerWin.open(); // open that top component } @@ -70,7 +70,7 @@ public class CoreComponentControl { if (m != null) { m.dockInto(contentWin); // redock into the output mode } else { - logger.log(Level.WARNING, "Could not find output mode and dock content window"); + logger.log(Level.WARNING, "Could not find output mode and dock content window"); //NON-NLS } contentWin.open(); // open that top component @@ -98,7 +98,7 @@ public class CoreComponentControl { for (TopComponent tc : mode.getTopComponents()) { tcName = tc.getName(); if (tcName == null) { - logger.log(Level.INFO, "tcName was null"); + logger.log(Level.INFO, "tcName was null"); //NON-NLS tcName = ""; } // switch requires constant strings, so converted to if/else.