]> source.dussan.org Git - jgit.git/commitdiff
Remove unused parent field in PlotLane 47/847/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 13 Jun 2010 01:13:57 +0000 (03:13 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 13 Jun 2010 01:13:57 +0000 (03:13 +0200)
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java

index 61eed3fa9a9d9ad43baf01075439945cdf6d3bd8..55d0206c027c989c372b71a6cfce21950e102348 100644 (file)
@@ -139,7 +139,6 @@ public class PlotCommitList<L extends PlotLane> extends
                                rObj.addPassingLane(c.lane);
                        }
                        currCommit.lane = c.lane;
-                       currCommit.lane.parent = currCommit;
                } else {
                        // More than one child, or our child is a merge.
                        // Use a different lane.
@@ -154,7 +153,6 @@ public class PlotCommitList<L extends PlotLane> extends
                        }
 
                        currCommit.lane = nextFreeLane();
-                       currCommit.lane.parent = currCommit;
                        activeLanes.add(currCommit.lane);
 
                        int remaining = nChildren;
index 9d08455ce9128cf0ed7ad55663a604f639a3cf2d..ff22b6473dd95c57e8003f0a363adf55850e64e7 100644 (file)
@@ -49,8 +49,6 @@ package org.eclipse.jgit.revplot;
  * Commits are strung onto a lane. For many UIs a lane represents a column.
  */
 public class PlotLane {
-       PlotCommit parent;
-
        int position;
 
        /**