Add diff.EditList to provide for a list of Edit instances
commitd1d42ea7d179e51ac103219e0db5892971663144
authorShawn O. Pearce <spearce@spearce.org>
Sat, 2 May 2009 02:08:44 +0000 (1 19:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 4 May 2009 22:42:15 +0000 (5 00:42 +0200)
treed2e5ab14f5c664065f40674188b7539de6c77dc5
parentb32ef380edf4177a9c378adc43746f0c52d94d6b
Add diff.EditList to provide for a list of Edit instances

Often a file difference involves more than one modified region, in
which case we need more than one Edit instance to describe the full
change that was made.

List<Edit> could be used with any generic List implementation, but
we may want to offer additional API functionality that is Edit list
specific, so I'm creating a specialized List implementation for it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/diff/EditListTest.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/diff/EditList.java [new file with mode: 0644]