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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4f978874 regenerate code using thrift 17 (#1129)
4f978874 is described below

commit 4f978874b46fa79aa1df4d2d1d8896c585051718
Author: Keith Turner <[email protected]>
AuthorDate: Tue Feb 14 12:56:36 2023 -0500

    regenerate code using thrift 17 (#1129)
---
 .../org/apache/fluo/core/thrift/OracleService.java | 85 +++++++++++++++++++++-
 .../java/org/apache/fluo/core/thrift/Stamps.java   | 15 +++-
 2 files changed, 98 insertions(+), 2 deletions(-)

diff --git 
a/modules/core/src/main/java/org/apache/fluo/core/thrift/OracleService.java 
b/modules/core/src/main/java/org/apache/fluo/core/thrift/OracleService.java
index 9c459bf0..8ef03711 100644
--- a/modules/core/src/main/java/org/apache/fluo/core/thrift/OracleService.java
+++ b/modules/core/src/main/java/org/apache/fluo/core/thrift/OracleService.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 /**
- * Autogenerated by Thrift Compiler (0.16.0)
+ * Autogenerated by Thrift Compiler (0.17.0)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
@@ -49,10 +49,12 @@ public class OracleService {
     public static class Factory implements 
org.apache.thrift.TServiceClientFactory<Client> {
       public Factory() {}
 
+      @Override
       public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
         return new Client(prot);
       }
 
+      @Override
       public Client getClient(org.apache.thrift.protocol.TProtocol iprot,
           org.apache.thrift.protocol.TProtocol oprot) {
         return new Client(iprot, oprot);
@@ -68,6 +70,7 @@ public class OracleService {
       super(iprot, oprot);
     }
 
+    @Override
     public Stamps getTimestamps(java.lang.String id, int num) throws 
org.apache.thrift.TException {
       send_getTimestamps(id, num);
       return recv_getTimestamps();
@@ -92,6 +95,7 @@ public class OracleService {
           "getTimestamps failed: unknown result");
     }
 
+    @Override
     public boolean isLeader() throws org.apache.thrift.TException {
       send_isLeader();
       return recv_isLeader();
@@ -127,6 +131,7 @@ public class OracleService {
         this.protocolFactory = protocolFactory;
       }
 
+      @Override
       public AsyncClient getAsyncClient(
           org.apache.thrift.transport.TNonblockingTransport transport) {
         return new AsyncClient(protocolFactory, clientManager, transport);
@@ -139,6 +144,7 @@ public class OracleService {
       super(protocolFactory, clientManager, transport);
     }
 
+    @Override
     public void getTimestamps(java.lang.String id, int num,
         org.apache.thrift.async.AsyncMethodCallback<Stamps> resultHandler)
         throws org.apache.thrift.TException {
@@ -165,6 +171,7 @@ public class OracleService {
         this.num = num;
       }
 
+      @Override
       public void write_args(org.apache.thrift.protocol.TProtocol prot)
           throws org.apache.thrift.TException {
         prot.writeMessageBegin(new 
org.apache.thrift.protocol.TMessage("getTimestamps",
@@ -176,6 +183,7 @@ public class OracleService {
         prot.writeMessageEnd();
       }
 
+      @Override
       public Stamps getResult() throws org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new java.lang.IllegalStateException("Method call not 
finished!");
@@ -188,6 +196,7 @@ public class OracleService {
       }
     }
 
+    @Override
     public void isLeader(
         org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> 
resultHandler)
         throws org.apache.thrift.TException {
@@ -209,6 +218,7 @@ public class OracleService {
         super(client, protocolFactory, transport, resultHandler, false);
       }
 
+      @Override
       public void write_args(org.apache.thrift.protocol.TProtocol prot)
           throws org.apache.thrift.TException {
         prot.writeMessageBegin(new 
org.apache.thrift.protocol.TMessage("isLeader",
@@ -218,6 +228,7 @@ public class OracleService {
         prot.writeMessageEnd();
       }
 
+      @Override
       public java.lang.Boolean getResult() throws org.apache.thrift.TException 
{
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new java.lang.IllegalStateException("Method call not 
finished!");
@@ -260,10 +271,12 @@ public class OracleService {
         super("getTimestamps");
       }
 
+      @Override
       public getTimestamps_args getEmptyArgsInstance() {
         return new getTimestamps_args();
       }
 
+      @Override
       protected boolean isOneway() {
         return false;
       }
@@ -273,6 +286,7 @@ public class OracleService {
         return false;
       }
 
+      @Override
       public getTimestamps_result getResult(I iface, getTimestamps_args args)
           throws org.apache.thrift.TException {
         getTimestamps_result result = new getTimestamps_result();
@@ -287,10 +301,12 @@ public class OracleService {
         super("isLeader");
       }
 
+      @Override
       public isLeader_args getEmptyArgsInstance() {
         return new isLeader_args();
       }
 
+      @Override
       protected boolean isOneway() {
         return false;
       }
@@ -300,6 +316,7 @@ public class OracleService {
         return false;
       }
 
+      @Override
       public isLeader_result getResult(I iface, isLeader_args args)
           throws org.apache.thrift.TException {
         isLeader_result result = new isLeader_result();
@@ -339,15 +356,18 @@ public class OracleService {
         super("getTimestamps");
       }
 
+      @Override
       public getTimestamps_args getEmptyArgsInstance() {
         return new getTimestamps_args();
       }
 
+      @Override
       public org.apache.thrift.async.AsyncMethodCallback<Stamps> 
getResultHandler(
           final 
org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
           final int seqid) {
         final org.apache.thrift.AsyncProcessFunction fcall = this;
         return new org.apache.thrift.async.AsyncMethodCallback<Stamps>() {
+          @Override
           public void onComplete(Stamps o) {
             getTimestamps_result result = new getTimestamps_result();
             result.success = o;
@@ -362,6 +382,7 @@ public class OracleService {
             }
           }
 
+          @Override
           public void onError(java.lang.Exception e) {
             byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
             org.apache.thrift.TSerializable msg;
@@ -390,10 +411,12 @@ public class OracleService {
         };
       }
 
+      @Override
       protected boolean isOneway() {
         return false;
       }
 
+      @Override
       public void start(I iface, getTimestamps_args args,
           org.apache.thrift.async.AsyncMethodCallback<Stamps> resultHandler)
           throws org.apache.thrift.TException {
@@ -407,15 +430,18 @@ public class OracleService {
         super("isLeader");
       }
 
+      @Override
       public isLeader_args getEmptyArgsInstance() {
         return new isLeader_args();
       }
 
+      @Override
       public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> 
getResultHandler(
           final 
org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
           final int seqid) {
         final org.apache.thrift.AsyncProcessFunction fcall = this;
         return new 
org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+          @Override
           public void onComplete(java.lang.Boolean o) {
             isLeader_result result = new isLeader_result();
             result.success = o;
@@ -431,6 +457,7 @@ public class OracleService {
             }
           }
 
+          @Override
           public void onError(java.lang.Exception e) {
             byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
             org.apache.thrift.TSerializable msg;
@@ -459,10 +486,12 @@ public class OracleService {
         };
       }
 
+      @Override
       protected boolean isOneway() {
         return false;
       }
 
+      @Override
       public void start(I iface, isLeader_args args,
           org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> 
resultHandler)
           throws org.apache.thrift.TException {
@@ -472,6 +501,7 @@ public class OracleService {
 
   }
 
+  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
   public static class getTimestamps_args
       implements org.apache.thrift.TBase<getTimestamps_args, 
getTimestamps_args._Fields>,
       java.io.Serializable, Cloneable, Comparable<getTimestamps_args> {
@@ -550,10 +580,12 @@ public class OracleService {
         _fieldName = fieldName;
       }
 
+      @Override
       public short getThriftFieldId() {
         return _thriftId;
       }
 
+      @Override
       public java.lang.String getFieldName() {
         return _fieldName;
       }
@@ -601,6 +633,7 @@ public class OracleService {
       this.num = other.num;
     }
 
+    @Override
     public getTimestamps_args deepCopy() {
       return new getTimestamps_args(this);
     }
@@ -661,6 +694,7 @@ public class OracleService {
           org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, 
__NUM_ISSET_ID, value);
     }
 
+    @Override
     public void setFieldValue(_Fields field,
         @org.apache.thrift.annotation.Nullable java.lang.Object value) {
       switch (field) {
@@ -684,6 +718,7 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public java.lang.Object getFieldValue(_Fields field) {
       switch (field) {
         case ID:
@@ -700,6 +735,7 @@ public class OracleService {
      * Returns true if field corresponding to fieldID is set (has been 
assigned a value) and false
      * otherwise
      */
+    @Override
     public boolean isSet(_Fields field) {
       if (field == null) {
         throw new java.lang.IllegalArgumentException();
@@ -793,15 +829,18 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public _Fields fieldForId(int fieldId) {
       return _Fields.findByThriftId(fieldId);
     }
 
+    @Override
     public void read(org.apache.thrift.protocol.TProtocol iprot)
         throws org.apache.thrift.TException {
       scheme(iprot).read(iprot, this);
     }
 
+    @Override
     public void write(org.apache.thrift.protocol.TProtocol oprot)
         throws org.apache.thrift.TException {
       scheme(oprot).write(oprot, this);
@@ -857,6 +896,7 @@ public class OracleService {
 
     private static class getTimestamps_argsStandardSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public getTimestamps_argsStandardScheme getScheme() {
         return new getTimestamps_argsStandardScheme();
       }
@@ -865,6 +905,7 @@ public class OracleService {
     private static class getTimestamps_argsStandardScheme
         extends org.apache.thrift.scheme.StandardScheme<getTimestamps_args> {
 
+      @Override
       public void read(org.apache.thrift.protocol.TProtocol iprot, 
getTimestamps_args struct)
           throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
@@ -903,6 +944,7 @@ public class OracleService {
         struct.validate();
       }
 
+      @Override
       public void write(org.apache.thrift.protocol.TProtocol oprot, 
getTimestamps_args struct)
           throws org.apache.thrift.TException {
         struct.validate();
@@ -924,6 +966,7 @@ public class OracleService {
 
     private static class getTimestamps_argsTupleSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public getTimestamps_argsTupleScheme getScheme() {
         return new getTimestamps_argsTupleScheme();
       }
@@ -978,6 +1021,7 @@ public class OracleService {
     }
   }
 
+  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
   public static class getTimestamps_result
       implements org.apache.thrift.TBase<getTimestamps_result, 
getTimestamps_result._Fields>,
       java.io.Serializable, Cloneable, Comparable<getTimestamps_result> {
@@ -1050,10 +1094,12 @@ public class OracleService {
         _fieldName = fieldName;
       }
 
+      @Override
       public short getThriftFieldId() {
         return _thriftId;
       }
 
+      @Override
       public java.lang.String getFieldName() {
         return _fieldName;
       }
@@ -1090,6 +1136,7 @@ public class OracleService {
       }
     }
 
+    @Override
     public getTimestamps_result deepCopy() {
       return new getTimestamps_result(this);
     }
@@ -1124,6 +1171,7 @@ public class OracleService {
       }
     }
 
+    @Override
     public void setFieldValue(_Fields field,
         @org.apache.thrift.annotation.Nullable java.lang.Object value) {
       switch (field) {
@@ -1139,6 +1187,7 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public java.lang.Object getFieldValue(_Fields field) {
       switch (field) {
         case SUCCESS:
@@ -1152,6 +1201,7 @@ public class OracleService {
      * Returns true if field corresponding to fieldID is set (has been 
assigned a value) and false
      * otherwise
      */
+    @Override
     public boolean isSet(_Fields field) {
       if (field == null) {
         throw new java.lang.IllegalArgumentException();
@@ -1222,10 +1272,12 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public _Fields fieldForId(int fieldId) {
       return _Fields.findByThriftId(fieldId);
     }
 
+    @Override
     public void read(org.apache.thrift.protocol.TProtocol iprot)
         throws org.apache.thrift.TException {
       scheme(iprot).read(iprot, this);
@@ -1281,6 +1333,7 @@ public class OracleService {
 
     private static class getTimestamps_resultStandardSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public getTimestamps_resultStandardScheme getScheme() {
         return new getTimestamps_resultStandardScheme();
       }
@@ -1289,6 +1342,7 @@ public class OracleService {
     private static class getTimestamps_resultStandardScheme
         extends org.apache.thrift.scheme.StandardScheme<getTimestamps_result> {
 
+      @Override
       public void read(org.apache.thrift.protocol.TProtocol iprot, 
getTimestamps_result struct)
           throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
@@ -1320,6 +1374,7 @@ public class OracleService {
         struct.validate();
       }
 
+      @Override
       public void write(org.apache.thrift.protocol.TProtocol oprot, 
getTimestamps_result struct)
           throws org.apache.thrift.TException {
         struct.validate();
@@ -1338,6 +1393,7 @@ public class OracleService {
 
     private static class getTimestamps_resultTupleSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public getTimestamps_resultTupleScheme getScheme() {
         return new getTimestamps_resultTupleScheme();
       }
@@ -1383,6 +1439,7 @@ public class OracleService {
     }
   }
 
+  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
   public static class isLeader_args
       implements org.apache.thrift.TBase<isLeader_args, isLeader_args._Fields>,
       java.io.Serializable, Cloneable, Comparable<isLeader_args> {
@@ -1449,10 +1506,12 @@ public class OracleService {
         _fieldName = fieldName;
       }
 
+      @Override
       public short getThriftFieldId() {
         return _thriftId;
       }
 
+      @Override
       public java.lang.String getFieldName() {
         return _fieldName;
       }
@@ -1474,6 +1533,7 @@ public class OracleService {
      */
     public isLeader_args(isLeader_args other) {}
 
+    @Override
     public isLeader_args deepCopy() {
       return new isLeader_args(this);
     }
@@ -1481,6 +1541,7 @@ public class OracleService {
     @Override
     public void clear() {}
 
+    @Override
     public void setFieldValue(_Fields field,
         @org.apache.thrift.annotation.Nullable java.lang.Object value) {
       switch (field) {
@@ -1488,6 +1549,7 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public java.lang.Object getFieldValue(_Fields field) {
       switch (field) {
       }
@@ -1498,6 +1560,7 @@ public class OracleService {
      * Returns true if field corresponding to fieldID is set (has been 
assigned a value) and false
      * otherwise
      */
+    @Override
     public boolean isSet(_Fields field) {
       if (field == null) {
         throw new java.lang.IllegalArgumentException();
@@ -1543,15 +1606,18 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public _Fields fieldForId(int fieldId) {
       return _Fields.findByThriftId(fieldId);
     }
 
+    @Override
     public void read(org.apache.thrift.protocol.TProtocol iprot)
         throws org.apache.thrift.TException {
       scheme(iprot).read(iprot, this);
     }
 
+    @Override
     public void write(org.apache.thrift.protocol.TProtocol oprot)
         throws org.apache.thrift.TException {
       scheme(oprot).write(oprot, this);
@@ -1592,6 +1658,7 @@ public class OracleService {
 
     private static class isLeader_argsStandardSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public isLeader_argsStandardScheme getScheme() {
         return new isLeader_argsStandardScheme();
       }
@@ -1600,6 +1667,7 @@ public class OracleService {
     private static class isLeader_argsStandardScheme
         extends org.apache.thrift.scheme.StandardScheme<isLeader_args> {
 
+      @Override
       public void read(org.apache.thrift.protocol.TProtocol iprot, 
isLeader_args struct)
           throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
@@ -1622,6 +1690,7 @@ public class OracleService {
         struct.validate();
       }
 
+      @Override
       public void write(org.apache.thrift.protocol.TProtocol oprot, 
isLeader_args struct)
           throws org.apache.thrift.TException {
         struct.validate();
@@ -1635,6 +1704,7 @@ public class OracleService {
 
     private static class isLeader_argsTupleSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public isLeader_argsTupleScheme getScheme() {
         return new isLeader_argsTupleScheme();
       }
@@ -1666,6 +1736,7 @@ public class OracleService {
     }
   }
 
+  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
   public static class isLeader_result
       implements org.apache.thrift.TBase<isLeader_result, 
isLeader_result._Fields>,
       java.io.Serializable, Cloneable, Comparable<isLeader_result> {
@@ -1738,10 +1809,12 @@ public class OracleService {
         _fieldName = fieldName;
       }
 
+      @Override
       public short getThriftFieldId() {
         return _thriftId;
       }
 
+      @Override
       public java.lang.String getFieldName() {
         return _fieldName;
       }
@@ -1780,6 +1853,7 @@ public class OracleService {
       this.success = other.success;
     }
 
+    @Override
     public isLeader_result deepCopy() {
       return new isLeader_result(this);
     }
@@ -1815,6 +1889,7 @@ public class OracleService {
           org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, 
__SUCCESS_ISSET_ID, value);
     }
 
+    @Override
     public void setFieldValue(_Fields field,
         @org.apache.thrift.annotation.Nullable java.lang.Object value) {
       switch (field) {
@@ -1830,6 +1905,7 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public java.lang.Object getFieldValue(_Fields field) {
       switch (field) {
         case SUCCESS:
@@ -1843,6 +1919,7 @@ public class OracleService {
      * Returns true if field corresponding to fieldID is set (has been 
assigned a value) and false
      * otherwise
      */
+    @Override
     public boolean isSet(_Fields field) {
       if (field == null) {
         throw new java.lang.IllegalArgumentException();
@@ -1911,10 +1988,12 @@ public class OracleService {
     }
 
     @org.apache.thrift.annotation.Nullable
+    @Override
     public _Fields fieldForId(int fieldId) {
       return _Fields.findByThriftId(fieldId);
     }
 
+    @Override
     public void read(org.apache.thrift.protocol.TProtocol iprot)
         throws org.apache.thrift.TException {
       scheme(iprot).read(iprot, this);
@@ -1966,6 +2045,7 @@ public class OracleService {
 
     private static class isLeader_resultStandardSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public isLeader_resultStandardScheme getScheme() {
         return new isLeader_resultStandardScheme();
       }
@@ -1974,6 +2054,7 @@ public class OracleService {
     private static class isLeader_resultStandardScheme
         extends org.apache.thrift.scheme.StandardScheme<isLeader_result> {
 
+      @Override
       public void read(org.apache.thrift.protocol.TProtocol iprot, 
isLeader_result struct)
           throws org.apache.thrift.TException {
         org.apache.thrift.protocol.TField schemeField;
@@ -2004,6 +2085,7 @@ public class OracleService {
         struct.validate();
       }
 
+      @Override
       public void write(org.apache.thrift.protocol.TProtocol oprot, 
isLeader_result struct)
           throws org.apache.thrift.TException {
         struct.validate();
@@ -2022,6 +2104,7 @@ public class OracleService {
 
     private static class isLeader_resultTupleSchemeFactory
         implements org.apache.thrift.scheme.SchemeFactory {
+      @Override
       public isLeader_resultTupleScheme getScheme() {
         return new isLeader_resultTupleScheme();
       }
diff --git a/modules/core/src/main/java/org/apache/fluo/core/thrift/Stamps.java 
b/modules/core/src/main/java/org/apache/fluo/core/thrift/Stamps.java
index f011a6ca..ab0fe80a 100644
--- a/modules/core/src/main/java/org/apache/fluo/core/thrift/Stamps.java
+++ b/modules/core/src/main/java/org/apache/fluo/core/thrift/Stamps.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 /**
- * Autogenerated by Thrift Compiler (0.16.0)
+ * Autogenerated by Thrift Compiler (0.17.0)
  *
  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  *  @generated
@@ -100,10 +100,12 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
       _fieldName = fieldName;
     }
 
+    @Override
     public short getThriftFieldId() {
       return _thriftId;
     }
 
+    @Override
     public java.lang.String getFieldName() {
       return _fieldName;
     }
@@ -146,6 +148,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
     this.gcStamp = other.gcStamp;
   }
 
+  @Override
   public Stamps deepCopy() {
     return new Stamps(this);
   }
@@ -208,6 +211,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
         org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, 
__GCSTAMP_ISSET_ID, value);
   }
 
+  @Override
   public void setFieldValue(_Fields field,
       @org.apache.thrift.annotation.Nullable java.lang.Object value) {
     switch (field) {
@@ -231,6 +235,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
   }
 
   @org.apache.thrift.annotation.Nullable
+  @Override
   public java.lang.Object getFieldValue(_Fields field) {
     switch (field) {
       case TX_STAMPS_START:
@@ -247,6 +252,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
    * Returns true if field corresponding to fieldID is set (has been assigned 
a value) and false
    * otherwise
    */
+  @Override
   public boolean isSet(_Fields field) {
     if (field == null) {
       throw new java.lang.IllegalArgumentException();
@@ -339,14 +345,17 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
   }
 
   @org.apache.thrift.annotation.Nullable
+  @Override
   public _Fields fieldForId(int fieldId) {
     return _Fields.findByThriftId(fieldId);
   }
 
+  @Override
   public void read(org.apache.thrift.protocol.TProtocol iprot) throws 
org.apache.thrift.TException {
     scheme(iprot).read(iprot, this);
   }
 
+  @Override
   public void write(org.apache.thrift.protocol.TProtocol oprot)
       throws org.apache.thrift.TException {
     scheme(oprot).write(oprot, this);
@@ -398,6 +407,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
 
   private static class StampsStandardSchemeFactory
       implements org.apache.thrift.scheme.SchemeFactory {
+    @Override
     public StampsStandardScheme getScheme() {
       return new StampsStandardScheme();
     }
@@ -406,6 +416,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
   private static class StampsStandardScheme
       extends org.apache.thrift.scheme.StandardScheme<Stamps> {
 
+    @Override
     public void read(org.apache.thrift.protocol.TProtocol iprot, Stamps struct)
         throws org.apache.thrift.TException {
       org.apache.thrift.protocol.TField schemeField;
@@ -443,6 +454,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
       struct.validate();
     }
 
+    @Override
     public void write(org.apache.thrift.protocol.TProtocol oprot, Stamps 
struct)
         throws org.apache.thrift.TException {
       struct.validate();
@@ -461,6 +473,7 @@ public class Stamps implements 
org.apache.thrift.TBase<Stamps, Stamps._Fields>,
   }
 
   private static class StampsTupleSchemeFactory implements 
org.apache.thrift.scheme.SchemeFactory {
+    @Override
     public StampsTupleScheme getScheme() {
       return new StampsTupleScheme();
     }

Reply via email to