Browse Source

Remove unused parent field in PlotLane

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.9
Robin Rosenberg 15 years ago
parent
commit
3a2a43a1dc
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java

2
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java

@ -139,7 +139,6 @@ public class PlotCommitList<L extends PlotLane> extends
rObj.addPassingLane(c.lane); rObj.addPassingLane(c.lane);
} }
currCommit.lane = c.lane; currCommit.lane = c.lane;
currCommit.lane.parent = currCommit;
} else { } else {
// More than one child, or our child is a merge. // More than one child, or our child is a merge.
// Use a different lane. // Use a different lane.
@ -154,7 +153,6 @@ public class PlotCommitList<L extends PlotLane> extends
} }
currCommit.lane = nextFreeLane(); currCommit.lane = nextFreeLane();
currCommit.lane.parent = currCommit;
activeLanes.add(currCommit.lane); activeLanes.add(currCommit.lane);
int remaining = nChildren; int remaining = nChildren;

2
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java

@ -49,8 +49,6 @@ package org.eclipse.jgit.revplot;
* Commits are strung onto a lane. For many UIs a lane represents a column. * Commits are strung onto a lane. For many UIs a lane represents a column.
*/ */
public class PlotLane { public class PlotLane {
PlotCommit parent;
int position; int position;
/** /**

Loading…
Cancel
Save