![]() The getPackSize method will throw IllegalStateException if it is called when the pack size is not set. This is the case for example when the received commands are all DELETE and there is no pack. Add a new method hasReceivedPack that can be called prior to calling getPackSize, to avoid causing the IllegalStateException. See [1] for context. [1] https://bugs.chromium.org/p/gerrit/issues/detail?id=11918 Change-Id: I56397256a05e92c8398e65c07a859cee59b46317 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com> |
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
findBugs | ||
resources/org/eclipse/jgit | ||
src/org/eclipse/jgit | ||
.classpath | ||
.fbprefs | ||
.gitignore | ||
.project | ||
BUILD | ||
about.html | ||
build.properties | ||
plugin.properties | ||
pom.xml |