Make it possible to clear a PlotCommitList
commit36b0dcf6cbae6ba25a96bf2b2bd5251f7af8904d
authorJonas Fonseca <fonseca@diku.dk>
Sun, 20 Sep 2009 13:34:37 +0000 (20 09:34 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 1 Oct 2009 23:57:32 +0000 (1 16:57 -0700)
tree7988c31c04a3ba97cdf65e1f9de2a5f65c0d0372
parent96690904f53241e825a29be9558be319a0bbfba1
Make it possible to clear a PlotCommitList

This allows SwingGraphPanes to be reused by simply clearing and
re-filling. Requires RevObjectList initialization to not call clear()
from its constructor, because this will lead PlotCommitList.clear()
to be called before all variables have been initialized.

Change-Id: I14a07124441b58cd88c67da088ba52ef9c30b043
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/revplot/PlotCommitList.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevObjectList.java