diff options
-rw-r--r-- | org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java index 3f80c7d1fc..12dbf47f73 100644 --- a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java +++ b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java @@ -116,6 +116,8 @@ class CSV { } else if (line.charAt(p) == ',') { row.add(""); p++; + if (p == line.length()) + row.add(""); } else { int comma = line.indexOf(',', p); |