Browse Source

[findbugs] Use explicit initialization

Findbugs doesn't like using implicitly initialized field in 
initializer.

Change-Id: Ic1ff9011813cc02950a71df587f31ed9f8415b49
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-0.12
Matthias Sohn 14 years ago
parent
commit
efad7327ca
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java

2
org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java

@ -307,7 +307,7 @@ public class BlockList<T> extends AbstractList<T> {
private int blkIdx; private int blkIdx;
private T[] block = directory[dirIdx]; private T[] block = directory[0];
public boolean hasNext() { public boolean hasNext() {
return index < size; return index < size;

Loading…
Cancel
Save