![]() Currently, unit tests need to either close the Repository underlying a TestRepository manually, or not close it at all. Both are error prone. The TestRepository holds a reference to 4 AutoCloseable objects: Repository, ObjectInserter, Git, and RevWalk. The last two can escape the TestRepository scope, so they are not closed when TestRepository is closed. Change-Id: I4461bb9104d517bd6bef09c38507c7c2ef5c31d4 Signed-off-by: Jackson Toeniskoetter <jackdt@google.com> |
||
---|---|---|
.. | ||
.settings | ||
META-INF | ||
src/org/eclipse/jgit/junit | ||
.classpath | ||
.gitignore | ||
.project | ||
BUILD | ||
build.properties | ||
plugin.properties | ||
pom.xml |