This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.1 by this push:
     new dae7d64559 PHOENIX-7153 Fix Warnings Flagged as Errors by Eclipse
dae7d64559 is described below

commit dae7d6455983f47bf5676f9dad4656ce67babf45
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Dec 14 08:35:55 2023 +0100

    PHOENIX-7153 Fix Warnings Flagged as Errors by Eclipse
---
 .../org/apache/phoenix/expression/RowValueConstructorExpression.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/RowValueConstructorExpression.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/RowValueConstructorExpression.java
index f92d1e22cb..e62e8599b6 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/RowValueConstructorExpression.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/RowValueConstructorExpression.java
@@ -121,7 +121,7 @@ public class RowValueConstructorExpression extends 
BaseCompoundExpression {
     public void write(DataOutput output) throws IOException {
         super.write(output);
         byte[] b = extraFields.toByteArray();
-        output.writeByte((int)(b.length > 0 ? b[0] & 0xff  : 0));
+        output.writeByte((b.length > 0 ? b[0] & 0xff  : 0));
     }
     
     private void init() {

Reply via email to