Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
V
vadere
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vadere
vadere
Commits
ec80f092
Commit
ec80f092
authored
May 21, 2019
by
Daniel Lehmberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix for processors of larger value than 10 and change to PID
parent
b06951da
Pipeline
#115164
failed with stages
in 3 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VadereSimulator/src/org/vadere/simulator/projects/dataprocessing/outputfile/OutputFile.java
...ulator/projects/dataprocessing/outputfile/OutputFile.java
+2
-2
No files found.
VadereSimulator/src/org/vadere/simulator/projects/dataprocessing/outputfile/OutputFile.java
View file @
ec80f092
...
...
@@ -54,7 +54,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
private
boolean
isWriteMetaData
;
private
String
separator
;
p
rivate
final
static
String
nameConflictAdd
=
"-Proc
?"
;
// the # is replaced with the processor id
p
ublic
final
static
String
nameConflictAdd
=
"-PID
?"
;
// the # is replaced with the processor id
private
VadereWriterFactory
writerFactory
;
private
VadereWriter
writer
;
...
...
@@ -199,7 +199,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
for
(
String
h:
list
)
{
// ... but now add the processor id
headers
.
addLast
(
h
+
nameConflictAdd
.
replace
(
'?'
,
(
char
)
(
l
.
getId
()+
'0'
)
));
nameConflictAdd
.
replace
(
"?"
,
""
+
l
.
getId
()+
'0'
));
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment