summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/.fbprefs
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-05-14 15:02:31 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-05-15 16:12:13 -0700
commitd8f20745bfe781116acd42c53c6a974439abde80 (patch)
tree7a9d6d8ee4ecbc8840dbf46c0f04533007b0e6c5 /org.eclipse.jgit/.fbprefs
parent3cb59216f50f0af652dd0204654f820fed0e36fc (diff)
downloadjgit-d8f20745bfe781116acd42c53c6a974439abde80.tar.gz
jgit-d8f20745bfe781116acd42c53c6a974439abde80.zip
Squash OffsetCache into WindowCache
Originally when I wrote this code I had hoped to use OffsetCache to also implement the UnpackedObjectCache. But it turns out they need rather different code, and it just wasn't worth trying to reuse the OffsetCache base class. Before doing any major refactoring or code cleanups here, squash the two classes together and delete OffsetCache. As WindowCache is our only subclass, this is pretty simple to do. We also get a minor code reduction due to less duplication between the two classes, and the JIT should be able to do a better job of optimization here as we can define types up front rather than relying on generics that erase back to java.lang.Object. Change-Id: Icac8bda01260e405899efabfdd274928e98f3521 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/.fbprefs')
0 files changed, 0 insertions, 0 deletions