diff options
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java index 6353a5b5f3..4ef0051503 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java @@ -99,7 +99,7 @@ import org.eclipse.jgit.util.io.SafeBufferedOutputStream; * <p> * This class is thread-safe. */ -public abstract class Repository { +public abstract class Repository implements AutoCloseable { private static final ListenerList globalListeners = new ListenerList(); /** @return the global listener list observing all events in this JVM. */ |