From 3a2a43a1dcc27fd5c40a9b5fcbcd185c0a20769c Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 13 Jun 2010 03:13:57 +0200 Subject: Remove unused parent field in PlotLane Signed-off-by: Robin Rosenberg --- org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java | 2 -- org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java index 61eed3fa9a..55d0206c02 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java @@ -139,7 +139,6 @@ public class PlotCommitList 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 extends } currCommit.lane = nextFreeLane(); - currCommit.lane.parent = currCommit; activeLanes.add(currCommit.lane); int remaining = nChildren; diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java b/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java index 9d08455ce9..ff22b6473d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotLane.java +++ b/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. */ public class PlotLane { - PlotCommit parent; - int position; /** -- cgit v1.2.3