]> source.dussan.org Git - jgit.git/commit
Use limited getCachedBytes code to reduce duplication 00/1400/3
authorShawn O. Pearce <spearce@spearce.org>
Tue, 24 Aug 2010 21:01:55 +0000 (14:01 -0700)
committerChris Aniszczyk <caniszczyk@gmail.com>
Thu, 26 Aug 2010 00:05:53 +0000 (19:05 -0500)
commitc11711f98ed5148bbbee34eb0159b5698556ea81
tree2eab897d9d81e857b70e3afdf4cb112c47946cdf
parent2292655e9ecab7305c4f481f9c1a9463a383e834
Use limited getCachedBytes code to reduce duplication

Rather than duplicating this block everywhere, reuse the limited size
form of getCachedBytes to acquire the content of an object.

Change-Id: I2e26a823e6fd0964d8f8dbfaa0fc2e8834c179c1
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/BlobBasedConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java