]> source.dussan.org Git - jgit.git/commit
eclipse-ipzilla: Correctly parse result with empty last field 67/767/1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 28 May 2010 21:30:27 +0000 (14:30 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 28 May 2010 21:32:22 +0000 (14:32 -0700)
commit4f346afa1a173c7fc864c119ba1cbb95bbc7edba
tree6e2303cf16bc44ccd35ca27f40ce328763eca8df
parent072ad087ff274ed8e0bee2fc941ced3d82ff6f4f
eclipse-ipzilla: Correctly parse result with empty last field

If the last field of our IPzilla query comes back empty, we were
skipping over and not including it in the result List, causing an
IndexOutOfBoundsException when it was read into our data model.

If the last field is empty, actually add the empty string.

Change-Id: Ib18b335990c73e036b185199d0004f4ffc395867
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/CSV.java