Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
ec80f092
Commit
ec80f092
authored
May 21, 2019
by
Daniel Lehmberg
Browse files
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
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
=
"-P
roc
?"
;
// the # is replaced with the processor id
p
ublic
final
static
String
nameConflictAdd
=
"-P
ID
?"
;
// 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
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment