Browse Source

Merge "Fix potential NullPointerException in PlotCommit"

stable-0.12
Shawn Pearce 14 years ago committed by Code Review
parent
commit
5bf3df5e1d
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java

3
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommit.java

@ -59,6 +59,8 @@ public class PlotCommit<L extends PlotLane> extends RevCommit {
static final PlotLane[] NO_LANES = {};
static final Ref[] NO_REFS = {};
PlotLane[] passingLanes;
PlotLane lane;
@ -77,6 +79,7 @@ public class PlotCommit<L extends PlotLane> extends RevCommit {
super(id);
passingLanes = NO_LANES;
children = NO_CHILDREN;
refs = NO_REFS;
}
void addPassingLane(final PlotLane c) {

Loading…
Cancel
Save