Merge "Silence false potential null pointer access warnings"
This commit is contained in:
commit
5426ba2778
|
@ -533,6 +533,7 @@ private ByteBuffer newCopyBuffer(PackOutputStream out, ReadableChannel rc) {
|
||||||
return ByteBuffer.wrap(copyBuf, 0, bs);
|
return ByteBuffer.wrap(copyBuf, 0, bs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("null")
|
||||||
void copyAsIs(PackOutputStream out, DfsObjectToPack src,
|
void copyAsIs(PackOutputStream out, DfsObjectToPack src,
|
||||||
boolean validate, DfsReader ctx) throws IOException,
|
boolean validate, DfsReader ctx) throws IOException,
|
||||||
StoredObjectRepresentationNotAvailableException {
|
StoredObjectRepresentationNotAvailableException {
|
||||||
|
@ -836,6 +837,7 @@ private static int read(ReadableChannel rc, ByteBuffer buf)
|
||||||
return buf.position();
|
return buf.position();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("null")
|
||||||
ObjectLoader load(DfsReader ctx, long pos)
|
ObjectLoader load(DfsReader ctx, long pos)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue