Skip to content

Commit 05fe8b9

Browse files
author
jantje
committed
fixing some warnings
1 parent d6c7191 commit 05fe8b9

File tree

1 file changed

+4
-4
lines changed
  • it.baeyens.arduino.core/src/it/baeyens/arduino/tools

1 file changed

+4
-4
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/tools/Helpers.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ private static void setTheEnvironmentVariablesPostProcessing(IContributedEnviron
10961096
setBuildEnvironmentVariable(contribEnv, confDesc, get_ENV_KEY_TOOL(ACTION_PROGRAM), uploadTool);
10971097
}
10981098

1099-
String objcopyCommand = "";
1099+
String objcopyCommand = Const.EMPTY_STRING;
11001100
String objcopyCommandLinker = objcopyCommand;
11011101

11021102
// I'm looping through the set of variables to fix some things up
@@ -1126,16 +1126,16 @@ private static void setTheEnvironmentVariablesPostProcessing(IContributedEnviron
11261126
}
11271127
setBuildEnvironmentVariable(contribEnv, confDesc, name, recipe);
11281128
}
1129-
if (name.startsWith("A.RECIPE.OBJCOPY.") && name.endsWith(".PATTERN")) {
1129+
if (name.startsWith("A.RECIPE.OBJCOPY.") && name.endsWith(".PATTERN")) { //$NON-NLS-1$ //$NON-NLS-2$
11301130
objcopyCommand += objcopyCommandLinker + makeEnvironmentVar(name);
1131-
objcopyCommandLinker = "\n\t";
1131+
objcopyCommandLinker = "\n\t"; //$NON-NLS-1$
11321132
}
11331133
}
11341134

11351135
} catch (Exception e) {
11361136
Common.log(new Status(IStatus.WARNING, Const.CORE_PLUGIN_ID, "parsing of upload recipe failed", e)); //$NON-NLS-1$
11371137
}
1138-
setBuildEnvironmentVariable(contribEnv, confDesc, "JANTJE.OBJCOPY", objcopyCommand);
1138+
setBuildEnvironmentVariable(contribEnv, confDesc, "JANTJE.OBJCOPY", objcopyCommand); //$NON-NLS-1$
11391139

11401140
// link build.core to jantje.build.core
11411141
setBuildEnvironmentVariable(contribEnv, confDesc, ENV_KEY_BUILD_CORE,

0 commit comments

Comments
 (0)