flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject git commit: FLUME-1911. Add deprecation back to the legacy thrift code.
Date Fri, 15 Mar 2013 00:14:21 GMT
Updated Branches:
  refs/heads/flume-1.4 72ebe25a1 -> 6b407e1a0


FLUME-1911. Add deprecation back to the legacy thrift code.

(Hari Shreedharan via Mike Percy)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/6b407e1a
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/6b407e1a
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/6b407e1a

Branch: refs/heads/flume-1.4
Commit: 6b407e1a0a720ccfc85fa496fe3809bbe03d4379
Parents: 72ebe25
Author: Mike Percy <mpercy@apache.org>
Authored: Thu Mar 14 17:13:39 2013 -0700
Committer: Mike Percy <mpercy@apache.org>
Committed: Thu Mar 14 17:14:09 2013 -0700

----------------------------------------------------------------------
 .../flume/handlers/thrift/ThriftFlumeEvent.java    |    1 +
 .../handlers/thrift/ThriftFlumeEventServer.java    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/6b407e1a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
----------------------------------------------------------------------
diff --git a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
b/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
index 6b79cc9..418c376 100644
--- a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
+++ b/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
@@ -49,6 +49,7 @@ import java.util.Arrays;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated
 public class ThriftFlumeEvent implements org.apache.thrift.TBase<ThriftFlumeEvent, ThriftFlumeEvent._Fields>,
java.io.Serializable, Cloneable {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftFlumeEvent");
 

http://git-wip-us.apache.org/repos/asf/flume/blob/6b407e1a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
----------------------------------------------------------------------
diff --git a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
b/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
index 208838a..10f35c7 100644
--- a/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
+++ b/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
@@ -49,6 +49,7 @@ import java.util.Arrays;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated
 public class ThriftFlumeEventServer {
 
   public interface Iface {


Mime
View raw message