]> source.dussan.org Git - jgit.git/commitdiff
UploadPack.FirstLine: Revert renaming of getOptions into getCapabilities 62/131162/3
authorIvan Frade <ifrade@google.com>
Thu, 18 Oct 2018 22:16:37 +0000 (15:16 -0700)
committerJonathan Nieder <jrn@google.com>
Thu, 18 Oct 2018 22:54:46 +0000 (15:54 -0700)
This is public facing, stable API.

Fortunately, this class is deprecated and will be removed in the next
major version bump.

Change-Id: I91193964732e9d1943e9dc613256196e9c9d1274
Signed-off-by: Ivan Frade <ifrade@google.com>
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

index 10df55ad48d2d83925c9a3148a0dc5d81215f9ae..4639cbd44e45a17513aeca0d05e705155468393a 100644 (file)
@@ -207,7 +207,7 @@ public class UploadPack {
                }
 
                /** @return capabilities parsed from the line. */
-               public Set<String> getCapabilities() {
+               public Set<String> getOptions() {
                        return firstWant.getCapabilities();
                }
        }