Skip to content
Snippets Groups Projects
Commit 49b80784 authored by ribeaudc's avatar ribeaudc
Browse files

minor:

- Some 'final' added.

SVN: 3214
parent 4332b5eb
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ public final class HardLinkMaker implements ILinkMaker ...@@ -56,7 +56,7 @@ public final class HardLinkMaker implements ILinkMaker
private final List<String> createLnCmdLine(final File srcFile, final File destFile) private final List<String> createLnCmdLine(final File srcFile, final File destFile)
{ {
List<String> tokens = new ArrayList<String>(); final List<String> tokens = new ArrayList<String>();
tokens.add(linkExecPath); tokens.add(linkExecPath);
tokens.add(srcFile.getAbsolutePath()); tokens.add(srcFile.getAbsolutePath());
// The destination file does not yet exist. Is going to be created and is the link. // The destination file does not yet exist. Is going to be created and is the link.
...@@ -87,7 +87,7 @@ public final class HardLinkMaker implements ILinkMaker ...@@ -87,7 +87,7 @@ public final class HardLinkMaker implements ILinkMaker
// ILinkMaker // ILinkMaker
// //
public final File tryCreateLink(final java.io.File file, final java.io.File destDir, final String nameOrNull) public final File tryCreateLink(final File file, final File destDir, final String nameOrNull)
throws EnvironmentFailureException throws EnvironmentFailureException
{ {
assert file != null && file.isFile() : "Given file can not be null and must be a file."; assert file != null && file.isFile() : "Given file can not be null and must be a file.";
...@@ -111,7 +111,7 @@ public final class HardLinkMaker implements ILinkMaker ...@@ -111,7 +111,7 @@ public final class HardLinkMaker implements ILinkMaker
final boolean ok = ProcessExecutionHelper.runAndLog(cmd, rootLogger, rootLogger); final boolean ok = ProcessExecutionHelper.runAndLog(cmd, rootLogger, rootLogger);
if (ok == false) if (ok == false)
{ {
String message = loggerRecorder.getLogContent(); final String message = loggerRecorder.getLogContent();
if (message.length() == 0) if (message.length() == 0)
{ {
return null; return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment