diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-06-18 01:57:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-06-18 01:57:23 +0200 |
commit | 372f6ea2f107262333ba5fb57054b956e7009a6e (patch) | |
tree | ecef0e33a02fe6a22daa6313c138d43ed3f1b3ef /src | |
parent | m (diff) | |
download | argparser-372f6ea2f107262333ba5fb57054b956e7009a6e.tar.gz argparser-372f6ea2f107262333ba5fb57054b956e7009a6e.tar.bz2 argparser-372f6ea2f107262333ba5fb57054b956e7009a6e.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ArgParser.java | 3 |
1 files changed, 1 insertions, 2 deletions
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; |