Ignore the BytesStore raw type The ByteStore raw type is inherited from the interface exported by the chroniclemap library and therefore should be respected. Add the ignore of the warning so that it would now show-up in the warnings to fix in the project. Change-Id: I2b7ac3090a379b22bd41c6e04c2053e6b6fcda49
diff --git a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapStore.java b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapStore.java index bd1d730..4df1729 100644 --- a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapStore.java +++ b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapStore.java
@@ -294,7 +294,7 @@ @Override public ExternalMapQueryContext<KeyWrapper<K>, TimedValue<V>, ?> queryContext( - BytesStore keyBytes, long offset, long size) { + @SuppressWarnings("rawtypes") BytesStore keyBytes, long offset, long size) { return store.queryContext(keyBytes, offset, size); }