From 372f6ea2f107262333ba5fb57054b956e7009a6e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 18 Jun 2013 01:57:23 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/ArgParser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ArgParser.java') diff --git a/src/ArgParser.java b/src/ArgParser.java index 495e07c..728e63c 100644 --- a/src/ArgParser.java +++ b/src/ArgParser.java @@ -472,8 +472,7 @@ public class ArgParser for (String line : lines) { if (line.startsWith("PPid:")) { - line = line.substring(5); - line = line.replace('\t', ' ').replace('\n', ' ').replace(" ", ""); + line = line.substring(5).replace('\t', ' ').replace(" ", ""); pid = Integer.parseInt(line); lvl -= 1; continue outer; -- cgit v1.2.3-70-g09d2