Skip to content

Commit

Permalink
patch for IndexOutOfBoundsException
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5399 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Dec 18, 2008
1 parent 0881190 commit f29b48d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/de/anomic/kelondro/kelondroEcoTable.java
Expand Up @@ -294,6 +294,7 @@ public synchronized ArrayList<kelondroRowCollection> removeDoubles() throws IOEx
L = is[j];
assert L.intValue() < file.size() : "L.intValue() = " + L.intValue() + ", file.size = " + file.size(); // prevent ooBounds Exception
d.add(L);
if (L.intValue() >= file.size()) continue; // prevent IndexOutOfBoundsException
file.get(L.intValue(), b, 0); // TODO: fix IndexOutOfBoundsException here
inconsistentEntry = rowdef.newEntry(b);
rows.addUnique(inconsistentEntry);
Expand Down

0 comments on commit f29b48d

Please sign in to comment.