cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/5] git commit: Add ITransportFactory to cassandra-thrift jar patch by Sam Tunnicliffe for CASSANDRA-4668
Date Mon, 17 Sep 2012 16:44:19 GMT
Add ITransportFactory to cassandra-thrift jar
patch by Sam Tunnicliffe for CASSANDRA-4668


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

Branch: refs/heads/cassandra-1.1
Commit: aa7dafaca4843fcd2eea70bca51bd303910f756e
Parents: 6a8ba07
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon Sep 17 11:42:46 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon Sep 17 11:43:00 2012 -0500

----------------------------------------------------------------------
 build.xml                                          |    4 ++++
 .../apache/cassandra/thrift/ITransportFactory.java |    2 --
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/aa7dafac/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index b498d12..6a97687 100644
--- a/build.xml
+++ b/build.xml
@@ -739,6 +739,10 @@
               file="${build.dir}/${ant.project.name}-thrift-${version}.pom"/>
       <jar jarfile="${build.dir}/${ant.project.name}-thrift-${version}.jar"
            basedir="${build.classes.thrift}">
+        <fileset dir="${build.classes.main}">
+          <include name="org/apache/cassandra/thrift/ITransportFactory.class" />
+          <include name="org/apache/cassandra/thrift/TFramedTransportFactory.class" />
+        </fileset>
         <manifest>
           <attribute name="Implementation-Title" value="Cassandra"/>
           <attribute name="Implementation-Version" value="${version}"/>

http://git-wip-us.apache.org/repos/asf/cassandra/blob/aa7dafac/src/java/org/apache/cassandra/thrift/ITransportFactory.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/thrift/ITransportFactory.java b/src/java/org/apache/cassandra/thrift/ITransportFactory.java
index 47cd034..4940fc6 100644
--- a/src/java/org/apache/cassandra/thrift/ITransportFactory.java
+++ b/src/java/org/apache/cassandra/thrift/ITransportFactory.java
@@ -21,13 +21,11 @@ package org.apache.cassandra.thrift;
  *
  */
 
-import org.apache.hadoop.conf.Configuration;
 import org.apache.thrift.transport.TSocket;
 import org.apache.thrift.transport.TTransport;
 import org.apache.thrift.transport.TTransportException;
 
 import javax.security.auth.login.LoginException;
-import java.io.IOException;
 
 
 public interface ITransportFactory


Mime
View raw message