diff options
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java index 4c4e53455f..f686c419a4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java @@ -429,7 +429,7 @@ public abstract class ObjectReader implements AutoCloseable { */ @Deprecated public void release() { - close(); + // Do nothing. } /** @@ -442,6 +442,6 @@ public abstract class ObjectReader implements AutoCloseable { */ @Override public void close() { - // Do nothing. + release(); } } |