]> source.dussan.org Git - jgit.git/commitdiff
Make ObjectUploadListener public 32/84932/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sat, 12 Nov 2016 21:22:24 +0000 (13:22 -0800)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 13 Nov 2016 22:31:17 +0000 (14:31 -0800)
Change-Id: I5b0fb1220bc0e5c660f1b5373abc5868d985c60b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/ObjectUploadListener.java

index bb3174308190823268d627fbeb6168c5e776d2be..84e4e6f1c662da7a283d823990bd434c948ab794 100644 (file)
@@ -64,9 +64,11 @@ import org.eclipse.jgit.lfs.lib.AnyLongObjectId;
 import org.eclipse.jgit.lfs.lib.Constants;
 
 /**
- * Handle asynchronous object upload
+ * Handle asynchronous object upload.
+ *
+ * @since 4.6
  */
-class ObjectUploadListener implements ReadListener {
+public class ObjectUploadListener implements ReadListener {
 
        private static Logger LOG = Logger
                        .getLogger(ObjectUploadListener.class.getName());
@@ -139,6 +141,9 @@ class ObjectUploadListener implements ReadListener {
                close();
        }
 
+       /**
+        * @throws IOException
+        */
        protected void close() throws IOException {
                try {
                        inChannel.close();
@@ -174,4 +179,4 @@ class ObjectUploadListener implements ReadListener {
                        LOG.log(Level.SEVERE, ex.getMessage(), ex);
                }
        }
-}
\ No newline at end of file
+}