]> source.dussan.org Git - jgit.git/commitdiff
Rename PlotWalk.getTags() to getRefs() 28/2328/2
authorRoberto Tyley <roberto.tyley@guardian.co.uk>
Tue, 25 Jan 2011 14:50:25 +0000 (14:50 +0000)
committerChris Aniszczyk <caniszczyk@gmail.com>
Thu, 27 Jan 2011 04:35:41 +0000 (22:35 -0600)
Change-Id: I170685e70d9ac09a010df69d26ec1c38bde60174
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotWalk.java

index b4c90c54d3acab8a35541dc567b8d5eaf2fcec97..53020f49d4e892a4dbeff5a69c7db47d77b6f9b9 100644 (file)
@@ -108,11 +108,11 @@ public class PlotWalk extends RevWalk {
                        IncorrectObjectTypeException, IOException {
                PlotCommit<?> pc = (PlotCommit) super.next();
                if (pc != null)
-                       pc.refs = getTags(pc);
+                       pc.refs = getRefs(pc);
                return pc;
        }
 
-       private Ref[] getTags(final AnyObjectId commitId) {
+       private Ref[] getRefs(final AnyObjectId commitId) {
                Collection<Ref> list = reverseRefMap.get(commitId);
                Ref[] tags;
                if (list == null)