Fix small bug I saw in bounds checking

git-svn-id: https://zxing.googlecode.com/svn/trunk@1880 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-08-09 22:22:09 +00:00
parent afe03407b1
commit 6c87ea3ee6

View file

@ -366,7 +366,7 @@ public final class RSSExpandedReader extends AbstractRSSReader{
start = this.startEnd[0]; start = this.startEnd[0];
int firstElementStart = this.startEnd[1] + 1; int firstElementStart = this.startEnd[1] + 1;
while(row.get(firstElementStart) && firstElementStart < row.size) { while (firstElementStart < row.size && row.get(firstElementStart)) {
firstElementStart++; firstElementStart++;
} }