You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2025/02/12 13:21:12 UTC
(hbase) branch master updated: HBASE-29125 Suppress HE_EQUALS_USE_HASHCODE in org.apache.hadoop.hbase.rest.model.ScannerModel$IncludeStartRowFilter (#6685)
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new e9869ae1cc7 HBASE-29125 Suppress HE_EQUALS_USE_HASHCODE in org.apache.hadoop.hbase.rest.model.ScannerModel$IncludeStartRowFilter (#6685)
e9869ae1cc7 is described below
commit e9869ae1cc7ec8ec1a34389170da767b30b3ebd9
Author: Istvan Toth <st...@apache.org>
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 <zh...@apache.org>
---
.../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