diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2011-04-04 02:19:16 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2011-04-04 02:19:16 +0200 |
commit | efad7327ca277f493a2c577866fed75702cd08ed (patch) | |
tree | 6b86c9525e364ed89acfe447a4957835bbcf423a | |
parent | 7aec8247c1ecd8e75f1e41a3d06bd69022d38486 (diff) | |
download | jgit-efad7327ca277f493a2c577866fed75702cd08ed.tar.gz jgit-efad7327ca277f493a2c577866fed75702cd08ed.zip |
[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>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java index 50715acb2c..0454e7e0d9 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java +++ b/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 T[] block = directory[dirIdx]; + private T[] block = directory[0]; public boolean hasNext() { return index < size; |