BaseSearch: Suppress ReferenceEquality Warnings
Errorprone raises the following warning: "[ReferenceEquality] Comparison using reference equality instead of value equality" Change-Id: Ib7542506dcdf5a0c7775a99a2c0972930d622879
This commit is contained in:
parent
47a16f5f22
commit
98029e6758
|
@ -142,6 +142,7 @@ private static int nextSlash(byte[] pathBuf, int ptr, int end) {
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("ReferenceEquality")
|
||||||
private void add(AnyObjectId id, int objectType, int pathHash) {
|
private void add(AnyObjectId id, int objectType, int pathHash) {
|
||||||
ObjectToPack obj = new ObjectToPack(id, objectType);
|
ObjectToPack obj = new ObjectToPack(id, objectType);
|
||||||
obj.setEdge();
|
obj.setEdge();
|
||||||
|
|
Loading…
Reference in New Issue