accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [2/2] accumulo git commit: ACCUMULO-898 Suppress warning for serial version on old TInfo
Date Fri, 07 Nov 2014 23:50:05 GMT
ACCUMULO-898 Suppress warning for serial version on old TInfo

  Thrift generated sources always suppressed these warnings. However, it
  should be noted that if anybody had actually serialized this class, its
  computed serialVersionUID will not match. This might limit the usefulness of
  including this for any desired backwards-compatibility reasons.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/566839ef
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/566839ef
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/566839ef

Branch: refs/heads/master
Commit: 566839ef791989ea69ec58574a6d2f51a7be9558
Parents: e62b997
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Fri Nov 7 18:46:23 2014 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Fri Nov 7 18:46:23 2014 -0500

----------------------------------------------------------------------
 trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/566839ef/trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java
----------------------------------------------------------------------
diff --git a/trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java b/trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java
index fc6388f..f6f5756 100644
--- a/trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java
+++ b/trace/src/main/java/org/apache/accumulo/trace/thrift/TInfo.java
@@ -19,7 +19,6 @@ package org.apache.accumulo.trace.thrift;
 /**
  * @deprecated since 1.7, use {@link org.apache.accumulo.core.trace.thrift.TInfo} instead
  */
+@SuppressWarnings("serial")
 @Deprecated
-public class TInfo extends org.apache.accumulo.core.trace.thrift.TInfo {
-}
-
+public class TInfo extends org.apache.accumulo.core.trace.thrift.TInfo {}


Mime
View raw message