Skip to content

Commit

Permalink
fixed null pointer exception
Browse files Browse the repository at this point in the history
  • Loading branch information
orbiter committed Sep 15, 2006
1 parent 9bed90f commit 26ab1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaWordIndexAssortment.java
Expand Up @@ -270,7 +270,7 @@ public class containerIterator implements Iterator {
private Iterator rowIterator;

public containerIterator(String startWordHash, boolean up, boolean rot) throws IOException {
rowIterator = assortments.rows(up, rot, startWordHash.getBytes());
rowIterator = assortments.rows(up, rot, (startWordHash == null) ? null : startWordHash.getBytes());
}

public boolean hasNext() {
Expand Down

0 comments on commit 26ab1fa

Please sign in to comment.