Require that the caller of readUInt32 supply the buffer.
commit979f7c5d00243a110772238a7445a978d18ace99
authorShawn O. Pearce <spearce@spearce.org>
Sun, 3 Dec 2006 03:02:01 +0000 (2 22:02 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 3 Dec 2006 03:02:01 +0000 (2 22:02 -0500)
tree2dbf94c311231cb7c58766394c4efd68aeaba037
parent16e588d76da465cb9356982d06b8455ecf2bb9d1
Require that the caller of readUInt32 supply the buffer.

This saves us a null test every time we load an object from a
pack file.  Since all callers always supply the buffer its a
good (however minor) performance improvement to remove this
jump instruction from the execution path.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/WindowedFile.java