]> source.dussan.org Git - jgit.git/commit
Simplify setDoNotDelta() to always set the flag 50/11650/1
authorShawn Pearce <spearce@spearce.org>
Thu, 4 Apr 2013 17:53:22 +0000 (10:53 -0700)
committerShawn Pearce <spearce@spearce.org>
Thu, 4 Apr 2013 17:56:42 +0000 (10:56 -0700)
commit594d4ceb12aa0e8df9dfe964de620de8dd6d79f5
treeb4ae61647a25cf9c1a57d3de36296e23cc41ad68
parent545358577376bec8fc140a76ce0f72bf81cc0a94
Simplify setDoNotDelta() to always set the flag

This method is only invoked with true as the argument.
Remove the unnecessary parameter and branch, making
the code easier for the JIT to optimize.

Change-Id: I68a9cd82f197b7d00a524ea3354260a0828083c6
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/ObjectToPack.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java