Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simulator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pg-andi
Simulator
Commits
cd194f28
There was an error fetching the commit references. Please try again later.
Commit
cd194f28
authored
May 4, 2017
by
amaehrle
Browse files
Options
Downloads
Patches
Plain Diff
Make paths in the debug printer relative
parent
be8d7cf1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/DebugPrinter.java
+2
-2
2 additions, 2 deletions
src/core/DebugPrinter.java
with
2 additions
and
2 deletions
src/core/DebugPrinter.java
+
2
−
2
View file @
cd194f28
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment