Skip to content
Snippets Groups Projects
Commit 36e5458a authored by Jürgen Walter's avatar Jürgen Walter
Browse files

minor path correction

parent 84f137f2
No related branches found
No related tags found
No related merge requests found
......@@ -193,17 +193,10 @@ public class PMXCommandLine {
outputDir = inputDir;
log.info("No output directory specified. Logging to input directory.");
}
if (!outputDir.endsWith("\\\\")) {
if (outputDir.endsWith("\\")) {
outputDir += "\\";
} else {
outputDir += "\\";
}
return new PMXController(analysisController, outputDir,
commandLine.getOptionValue(TimestampFilter.CONFIG_PROPERTY_NAME_IGNORE_BEFORE_TIMESTAMP),
commandLine.getOptionValue(TimestampFilter.CONFIG_PROPERTY_NAME_IGNORE_AFTER_TIMESTAMP),
commandLine.hasOption("reduced"));
}
return new PMXController(analysisController, outputDir,
commandLine.getOptionValue(TimestampFilter.CONFIG_PROPERTY_NAME_IGNORE_BEFORE_TIMESTAMP),
commandLine.getOptionValue(TimestampFilter.CONFIG_PROPERTY_NAME_IGNORE_AFTER_TIMESTAMP),
commandLine.hasOption("reduced"));
} catch (NullPointerException e) {
//PMXCommandLine.printUsage();
log.info(e);
......
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