Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
d8e606f4
Commit
d8e606f4
authored
May 23, 2017
by
Simon Luser
Browse files
small metric blacklist fix
parent
148319c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/analyzer/metric/output/AbstractOutput.java
View file @
d8e606f4
...
...
@@ -101,8 +101,8 @@ public abstract class AbstractOutput implements MetricOutput {
*/
public
void
setBlacklist
(
String
blacklist
)
{
this
.
blacklist
=
blacklist
.
split
(
";|;\\n"
);
for
(
String
string
:
this
.
blacklist
)
string
=
string
.
replaceAll
(
"\\s+"
,
""
);
for
(
int
i
=
0
;
i
<
this
.
blacklist
.
length
;
i
++
)
this
.
blacklist
[
i
]
=
this
.
blacklist
[
i
]
.
replaceAll
(
"\\s+"
,
""
);
}
public
void
setWhitelist
(
String
whitelist
)
{
...
...
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