]> source.dussan.org Git - jgit.git/commit
Change EditList to extend ArrayList 89/3589/1
authorShawn O. Pearce <spearce@spearce.org>
Sun, 29 May 2011 19:24:27 +0000 (12:24 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 31 May 2011 15:58:45 +0000 (08:58 -0700)
commit8d1ac7a769b3fc4725537376e0e14d3b96ebbe3d
treedf01f775a569760e9b9c0859906e37feccd947b0
parent67a1a0993f3969357c554b2030cfd794b3c3af89
Change EditList to extend ArrayList

There is no reason for this type to contain an ArrayList and try to
hide the implementation. It only slows down execution by adding an
extra layer of method dispatch to each invocation.

Instead subclass from ArrayList.

Change-Id: Ifbb9c7060c2fe3d5a7397c1aa85fbade14088637
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/diff/EditList.java