This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 4a96cae2223 HBASE-29125 Suppress HE_EQUALS_USE_HASHCODE in
org.apache.hadoop.hbase.rest.model.ScannerModel$IncludeStartRowFilter (#6685)
4a96cae2223 is described below
commit 4a96cae222382a7ab28992668cde9a4720f97aa0
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Feb 12 14:21:01 2025 +0100
HBASE-29125 Suppress HE_EQUALS_USE_HASHCODE in
org.apache.hadoop.hbase.rest.model.ScannerModel$IncludeStartRowFilter (#6685)
Signed-off-by: Duo Zhang <[email protected]>
---
.../src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
index a050dc9e54f..8a01d88422f 100644
---
a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
+++
b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java
@@ -146,7 +146,8 @@ public class ScannerModel implements
ProtobufMessageHandler, Serializable {
}
@edu.umd.cs.findbugs.annotations.SuppressWarnings(
- value = { "EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS",
"HE_EQUALS_NO_HASHCODE" },
+ value = { "EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS",
"HE_EQUALS_NO_HASHCODE",
+ "HE_EQUALS_USE_HASHCODE" },
justification = "1.The supplied value from the JSON Value Filter is of
Type Boolean, hence supressing the check, 2.hashCode method will not be
invoked, hence supressing the check")
private static class IncludeStartRowFilter {
@Override