From efad7327ca277f493a2c577866fed75702cd08ed Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Mon, 4 Apr 2011 02:19:16 +0200 Subject: [PATCH] [findbugs] Use explicit initialization Findbugs doesn't like using implicitly initialized field in initializer. Change-Id: Ic1ff9011813cc02950a71df587f31ed9f8415b49 Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 50715acb2..0454e7e0d 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 extends AbstractList { private int blkIdx; - private T[] block = directory[dirIdx]; + private T[] block = directory[0]; public boolean hasNext() { return index < size;