Replace hand-coded read fully loop with NB.readFully
commit16330bd2d0ceff3a023c7d7d9f25d8d125db06b9
authorShawn O. Pearce <spearce@spearce.org>
Tue, 21 Apr 2009 01:21:05 +0000 (20 18:21 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 23 Apr 2009 22:25:56 +0000 (24 00:25 +0200)
tree6565f384683b1d0dc040f3e0ab258ee366c29581
parentdf63b26ad972a00c4681bb1eb0a325bb4eb4229d
Replace hand-coded read fully loop with NB.readFully

This code predates the NB utility class.  I'd prefer to reuse the
code over keeping this duplicate copy of the logic.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java