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:
@@ -31,7 +31,7 @@ package com.google.gerrit.server.ioutil;
|
||||
|
||||
import com.google.gerrit.reviewdb.CodedEnum;
|
||||
|
||||
import org.eclipse.jgit.util.NB;
|
||||
import org.eclipse.jgit.util.IO;
|
||||
|
||||
import java.io.EOFException;
|
||||
import java.io.IOException;
|
||||
@@ -116,7 +116,7 @@ public class BasicSerialization {
|
||||
return NO_BYTES;
|
||||
}
|
||||
final byte[] buf = new byte[len];
|
||||
NB.readFully(input, buf, 0, len);
|
||||
IO.readFully(input, buf, 0, len);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user