Update JGit to org.eclipse.jgit 0.5.1.51-g96b2e76
Bug: issue 324 Change-Id: I434f70f76fe6139950a8686d23b04ecf442388e7 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
		@@ -34,8 +34,8 @@ limitations under the License.
 | 
			
		||||
 | 
			
		||||
  <dependencies>
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.eclipse</groupId>
 | 
			
		||||
      <artifactId>jgit</artifactId>
 | 
			
		||||
      <groupId>org.eclipse.jgit</groupId>
 | 
			
		||||
      <artifactId>org.eclipse.jgit</artifactId>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
    <dependency>
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
package org.eclipse.jgit.lib;
 | 
			
		||||
 | 
			
		||||
import org.eclipse.jgit.util.NB;
 | 
			
		||||
import org.eclipse.jgit.util.IO;
 | 
			
		||||
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.io.InputStream;
 | 
			
		||||
@@ -49,7 +49,7 @@ public class ObjectIdSerialization {
 | 
			
		||||
 | 
			
		||||
  public static ObjectId readNotNull(final InputStream in) throws IOException {
 | 
			
		||||
    final byte[] b = new byte[20];
 | 
			
		||||
    NB.readFully(in, b, 0, 20);
 | 
			
		||||
    IO.readFully(in, b, 0, 20);
 | 
			
		||||
    return ObjectId.fromRaw(b);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user