diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/DefinitionParser.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/DefinitionParser.java index 9fea9fd7d3ba6f2b9c0a3007cf443463ad0d2e87..0afb13dd74e7a491583a25b2ed9d9948a0c5bfe4 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/DefinitionParser.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/DefinitionParser.java @@ -12,7 +12,7 @@ class DefinitionParser { DefinitionBuilder builder = new DefinitionBuilder(); for (String line : definition) { - String [] split = line.split(" \t"); + String [] split = line.split(" "); split[0] = split[0].toLowerCase(); if ("default".equals(split[0])) builder.setDefaultThreshold(parseThreshold(line.substring(7).trim())); @@ -77,7 +77,7 @@ class DefinitionParser { String thresholdString = extractThreshold(line); Threshold threshold = parseThreshold(thresholdString); String line2 = line.substring(thresholdString.length()).trim(); - String[] split = line2.split(" \t"); + String[] split = line2.split(" "); if (split.length < 2) throw new InvalidDefinitionException("invalid definition "+line); if ("explicit".equalsIgnoreCase(split[0]))