You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2022/08/18 12:23:07 UTC

[systemds] branch main updated: [MINOR] Supress warnings in generated Protos file

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

baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new 0b7a6a9361 [MINOR] Supress warnings in generated Protos file
0b7a6a9361 is described below

commit 0b7a6a9361ae84ada2e32368a365fd851aa15382
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Thu Aug 18 14:22:56 2022 +0200

    [MINOR] Supress warnings in generated Protos file
---
 src/main/java/org/apache/sysds/protobuf/SysdsProtos.java | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sysds/protobuf/SysdsProtos.java b/src/main/java/org/apache/sysds/protobuf/SysdsProtos.java
index 959bf4f23c..66ed60439e 100644
--- a/src/main/java/org/apache/sysds/protobuf/SysdsProtos.java
+++ b/src/main/java/org/apache/sysds/protobuf/SysdsProtos.java
@@ -227,6 +227,7 @@ public final class SysdsProtos {
     }
 
     @java.lang.Override
+	 @SuppressWarnings("unchecked")
     public int hashCode() {
       if (memoizedHashCode != 0) {
         return memoizedHashCode;
@@ -403,7 +404,7 @@ public final class SysdsProtos {
       @java.lang.Override
       public org.apache.sysds.protobuf.SysdsProtos.Frame buildPartial() {
         org.apache.sysds.protobuf.SysdsProtos.Frame result = new org.apache.sysds.protobuf.SysdsProtos.Frame(this);
-        int from_bitField0_ = bitField0_;
+        //   int from_bitField0_ = bitField0_;
         if (rowsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             rows_ = java.util.Collections.unmodifiableList(rows_);
@@ -1194,6 +1195,7 @@ public final class SysdsProtos {
     }
 
     @java.lang.Override
+	 @SuppressWarnings("unchecked")
     public int hashCode() {
       if (memoizedHashCode != 0) {
         return memoizedHashCode;
@@ -1382,7 +1384,7 @@ public final class SysdsProtos {
       @java.lang.Override
       public org.apache.sysds.protobuf.SysdsProtos.Row buildPartial() {
         org.apache.sysds.protobuf.SysdsProtos.Row result = new org.apache.sysds.protobuf.SysdsProtos.Row(this);
-        int from_bitField0_ = bitField0_;
+        //   int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           columnNames_ = columnNames_.getUnmodifiableView();
           bitField0_ = (bitField0_ & ~0x00000001);
@@ -2338,7 +2340,7 @@ public final class SysdsProtos {
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, org.apache.sysds.protobuf.SysdsProtos.Schema.ValueType>() {
               public org.apache.sysds.protobuf.SysdsProtos.Schema.ValueType convert(java.lang.Integer from) {
-                @SuppressWarnings("deprecation")
+               //  @SuppressWarnings("deprecation")
                 org.apache.sysds.protobuf.SysdsProtos.Schema.ValueType result = org.apache.sysds.protobuf.SysdsProtos.Schema.ValueType.valueOf(from);
                 return result == null ? org.apache.sysds.protobuf.SysdsProtos.Schema.ValueType.UNRECOGNIZED : result;
               }
@@ -2453,6 +2455,7 @@ public final class SysdsProtos {
     }
 
     @java.lang.Override
+	 @SuppressWarnings("unchecked")
     public int hashCode() {
       if (memoizedHashCode != 0) {
         return memoizedHashCode;
@@ -2624,7 +2627,7 @@ public final class SysdsProtos {
       @java.lang.Override
       public org.apache.sysds.protobuf.SysdsProtos.Schema buildPartial() {
         org.apache.sysds.protobuf.SysdsProtos.Schema result = new org.apache.sysds.protobuf.SysdsProtos.Schema(this);
-        int from_bitField0_ = bitField0_;
+      //   int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           valueType_ = java.util.Collections.unmodifiableList(valueType_);
           bitField0_ = (bitField0_ & ~0x00000001);