Move pure IO utility functions to a utility class of its own.
commitd4e7b7060610678e863fbf091746ae1fcc240b0d
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 24 Oct 2009 09:48:04 +0000 (24 11:48 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 31 Oct 2009 23:09:12 +0000 (31 16:09 -0700)
treeadf9cc70ce716e770450b2e4bf9aef0dda8d66fb
parentfad60bddbbee7fd9f6fe5df8f00b5a348b6f387d
Move pure IO utility functions to a utility class of its own.

According the javadoc, and implied by the name of the class, NB
is about network byte order. The purpose of moving the IO only,
and non-byte order related functions to another class is to
make it easier for new contributors to understand that they
can use these functions in general and it's also makes it easier
to understand where to put new IO related utility functions

Change-Id: I4a9f6b39d5564bc8a694b366e7ff3cc758c5181b
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
20 files changed:
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/TimeoutInputStreamTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/TimeoutOutputStreamTest.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCache.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/FileBasedConfig.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/PackFile.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/PackIndex.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/PackIndexV1.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/PackIndexV2.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/RefDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ReflogReader.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryCache.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/UnpackedObjectLoader.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BundleFetchConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/SideBandInputStream.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkRemoteObjectDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/util/IO.java [copied from org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java with 53% similarity]
org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java
org.eclipse.jgit/src/org/eclipse/jgit/util/TemporaryBuffer.java