Skip to content
Snippets Groups Projects
Commit cd194f28 authored by amaehrle's avatar amaehrle
Browse files

Make paths in the debug printer relative

parent be8d7cf1
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,8 @@ public class DebugPrinter { ...@@ -29,8 +29,8 @@ public class DebugPrinter {
*/ */
public DebugPrinter(String name) { public DebugPrinter(String name) {
//generate the filepaths //generate the filepaths
filepath1 = "C:\\Users\\Byte\\IdeaProjects\\Simulator\\reports\\" + name + "1.log"; filepath1 = "reports/" + name + "_1.log";
filepath2 = "C:\\Users\\Byte\\IdeaProjects\\Simulator\\reports\\" + name + "2.log"; filepath2 = "reports/" + name + "_2.log";
//check if any of the two files already exists //check if any of the two files already exists
File f = new File(filepath1); File f = new File(filepath1);
File f2 = new File(filepath2); File f2 = new File(filepath2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment