Commit d8e606f4 authored by Simon Luser's avatar Simon Luser
Browse files

small metric blacklist fix

parent 148319c1
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment