gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [2/7] gora git commit: Remove unused imports.
Date Sat, 05 Sep 2015 14:47:06 GMT
Remove unused imports.


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

Branch: refs/heads/master
Commit: e5ddb78f8fd60278f63a8bc0a944ab0506d30dfc
Parents: c6c087c
Author: Furkan KAMACI <furkankamaci@gmail.com>
Authored: Fri Sep 4 15:10:40 2015 +0300
Committer: Furkan KAMACI <furkankamaci@gmail.com>
Committed: Fri Sep 4 15:10:40 2015 +0300

----------------------------------------------------------------------
 .../org/apache/gora/cassandra/query/CassandraColumn.java     | 4 ----
 .../org/apache/gora/cassandra/query/CassandraSubColumn.java  | 2 --
 .../apache/gora/cassandra/query/CassandraSuperColumn.java    | 1 -
 .../java/org/apache/gora/compiler/cli/GoraCompilerCLI.java   | 1 -
 .../src/main/java/org/apache/gora/avro/query/AvroQuery.java  | 3 ---
 .../java/org/apache/gora/avro/query/DataFileAvroResult.java  | 1 -
 .../java/org/apache/gora/mapreduce/GoraRecordReader.java     | 2 --
 .../src/main/java/org/apache/gora/persistency/Tombstone.java | 8 --------
 gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java | 3 ---
 .../main/java/org/apache/gora/hbase/store/HBaseMapping.java  | 2 +-
 .../org/apache/gora/hbase/store/HBaseTableConnection.java    | 1 -
 .../java/org/apache/gora/hbase/util/HBaseFilterUtil.java     | 1 -
 .../java/org/apache/gora/mongodb/store/TestMongoStore.java   | 1 -
 .../main/java/org/apache/gora/tutorial/log/LogManager.java   | 2 --
 14 files changed, 1 insertion(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
----------------------------------------------------------------------
diff --git a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
index d792685..3cffdbf 100644
--- a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java
@@ -20,16 +20,12 @@ package org.apache.gora.cassandra.query;
 
 import java.io.IOException;
 import java.nio.ByteBuffer;
-import java.util.concurrent.ConcurrentHashMap;
 
 import me.prettyprint.hector.api.Serializer;
 
 import org.apache.avro.Schema;
 import org.apache.avro.Schema.Field;
 import org.apache.avro.Schema.Type;
-import org.apache.avro.io.BinaryDecoder;
-import org.apache.avro.io.DecoderFactory;
-import org.apache.avro.specific.SpecificDatumReader;
 import org.apache.gora.cassandra.serializers.AvroSerializerUtil;
 import org.apache.gora.cassandra.serializers.GoraSerializerTypeInferer;
 import org.slf4j.Logger;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
----------------------------------------------------------------------
diff --git a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
index 12dada1..72cd0dd 100644
--- a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java
@@ -20,7 +20,6 @@ package org.apache.gora.cassandra.query;
 
 import java.nio.ByteBuffer;
 import java.util.List;
-import java.util.Map;
 
 import me.prettyprint.hector.api.beans.HColumn;
 
@@ -28,7 +27,6 @@ import org.apache.avro.Schema;
 import org.apache.avro.Schema.Field;
 import org.apache.avro.Schema.Type;
 import org.apache.gora.cassandra.serializers.ListSerializer;
-import org.apache.gora.cassandra.serializers.MapSerializer;
 import org.apache.gora.cassandra.store.CassandraStore;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
----------------------------------------------------------------------
diff --git a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
index bbf1c34..5096c5c 100644
--- a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSuperColumn.java
@@ -32,7 +32,6 @@ import me.prettyprint.hector.api.beans.HSuperColumn;
 import org.apache.avro.Schema;
 import org.apache.avro.Schema.Field;
 import org.apache.avro.Schema.Type;
-import org.apache.avro.util.Utf8;
 import org.apache.gora.cassandra.serializers.CharSequenceSerializer;
 import org.apache.gora.cassandra.store.CassandraStore;
 import org.apache.gora.persistency.impl.PersistentBase;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
----------------------------------------------------------------------
diff --git a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
index 6015192..c96ed57 100644
--- a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
+++ b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
@@ -19,7 +19,6 @@ package org.apache.gora.compiler.cli;
 
 import java.io.File;
 import java.io.IOException;
-import java.io.PrintStream;
 
 import org.apache.gora.compiler.GoraCompiler;
 

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-core/src/main/java/org/apache/gora/avro/query/AvroQuery.java
----------------------------------------------------------------------
diff --git a/gora-core/src/main/java/org/apache/gora/avro/query/AvroQuery.java b/gora-core/src/main/java/org/apache/gora/avro/query/AvroQuery.java
index 38a03bb..2069279 100644
--- a/gora-core/src/main/java/org/apache/gora/avro/query/AvroQuery.java
+++ b/gora-core/src/main/java/org/apache/gora/avro/query/AvroQuery.java
@@ -18,11 +18,8 @@
 
 package org.apache.gora.avro.query;
 
-import java.io.IOException;
-
 import org.apache.gora.avro.store.AvroStore;
 import org.apache.gora.persistency.impl.PersistentBase;
-import org.apache.gora.query.Result;
 import org.apache.gora.query.impl.QueryBase;
 
 /**

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-core/src/main/java/org/apache/gora/avro/query/DataFileAvroResult.java
----------------------------------------------------------------------
diff --git a/gora-core/src/main/java/org/apache/gora/avro/query/DataFileAvroResult.java b/gora-core/src/main/java/org/apache/gora/avro/query/DataFileAvroResult.java
index 0479cc8..2530235 100644
--- a/gora-core/src/main/java/org/apache/gora/avro/query/DataFileAvroResult.java
+++ b/gora-core/src/main/java/org/apache/gora/avro/query/DataFileAvroResult.java
@@ -22,7 +22,6 @@ import java.io.IOException;
 
 import org.apache.avro.file.DataFileReader;
 import org.apache.avro.file.SeekableInput;
-import org.apache.gora.persistency.Persistent;
 import org.apache.gora.persistency.impl.PersistentBase;
 import org.apache.gora.query.Query;
 import org.apache.gora.query.impl.ResultBase;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordReader.java
----------------------------------------------------------------------
diff --git a/gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordReader.java b/gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordReader.java
index 3c11068..2460246 100644
--- a/gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordReader.java
+++ b/gora-core/src/main/java/org/apache/gora/mapreduce/GoraRecordReader.java
@@ -20,11 +20,9 @@ package org.apache.gora.mapreduce;
 
 import java.io.IOException;
 
-import org.apache.gora.persistency.Persistent;
 import org.apache.gora.persistency.impl.PersistentBase;
 import org.apache.gora.query.Query;
 import org.apache.gora.query.Result;
-import org.apache.gora.query.impl.ResultBase;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.mapreduce.InputSplit;
 import org.apache.hadoop.mapreduce.RecordReader;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-core/src/main/java/org/apache/gora/persistency/Tombstone.java
----------------------------------------------------------------------
diff --git a/gora-core/src/main/java/org/apache/gora/persistency/Tombstone.java b/gora-core/src/main/java/org/apache/gora/persistency/Tombstone.java
index 6868933..61d85e9 100644
--- a/gora-core/src/main/java/org/apache/gora/persistency/Tombstone.java
+++ b/gora-core/src/main/java/org/apache/gora/persistency/Tombstone.java
@@ -1,13 +1,5 @@
 package org.apache.gora.persistency;
 
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.Map;
-import java.util.Set;
-
 /**
  * Marker interface used to signal a deletion to Gora.
  */

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java
----------------------------------------------------------------------
diff --git a/gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java b/gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java
index 2b41b0c..b2e64f3 100644
--- a/gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java
+++ b/gora-goraci/src/main/java/org/apache/gora/goraci/Verify.java
@@ -31,14 +31,11 @@ import org.apache.commons.cli.GnuParser;
 import org.apache.commons.cli.HelpFormatter;
 import org.apache.commons.cli.Options;
 import org.apache.commons.cli.ParseException;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.gora.mapreduce.GoraMapper;
 import org.apache.gora.query.Query;
 import org.apache.gora.query.Result;
 import org.apache.gora.store.DataStore;
 import org.apache.gora.store.DataStoreFactory;
-import org.apache.gora.util.GoraException;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configured;
 import org.apache.hadoop.fs.Path;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
----------------------------------------------------------------------
diff --git a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
index d32bbd0..28d4cf1 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseMapping.java
@@ -98,7 +98,7 @@ public class HBaseMapping {
       // For example nest columns in families. Of course this would break compatibility.
       
       
-      Map<String, HColumnDescriptor> families = getOrCreateFamilies(tableName);;
+      Map<String, HColumnDescriptor> families = getOrCreateFamilies(tableName);
       
       
       HColumnDescriptor columnDescriptor = getOrCreateFamily(familyName, families);

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
----------------------------------------------------------------------
diff --git a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
index 7699e7b..0f625ff 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/store/HBaseTableConnection.java
@@ -51,7 +51,6 @@ import org.apache.hadoop.hbase.util.Pair;
 import com.google.protobuf.Descriptors.MethodDescriptor;
 import com.google.protobuf.Message;
 import com.google.protobuf.Service;
-import com.google.protobuf.ServiceException;
 
 /**
  * Thread safe implementation to connect to a HBase table.

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseFilterUtil.java
----------------------------------------------------------------------
diff --git a/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseFilterUtil.java b/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseFilterUtil.java
index 9b30ded..6e26607 100644
--- a/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseFilterUtil.java
+++ b/gora-hbase/src/main/java/org/apache/gora/hbase/util/HBaseFilterUtil.java
@@ -25,7 +25,6 @@ import org.apache.gora.persistency.impl.PersistentBase;
 import org.apache.gora.util.GoraException;
 import org.apache.gora.util.ReflectionUtils;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.hbase.client.Get;
 import org.apache.hadoop.hbase.client.Scan;
 
 import java.util.LinkedHashMap;

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore.java
----------------------------------------------------------------------
diff --git a/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore.java
b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore.java
index 20c52d5..231cee7 100644
--- a/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore.java
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore.java
@@ -38,7 +38,6 @@ import java.util.Collections;
 import org.apache.avro.util.Utf8;
 import org.apache.gora.query.Query;
 import org.apache.gora.query.Result;
-import static org.junit.Assert.assertNotNull;
 
 public abstract class TestMongoStore extends DataStoreTestBase {
 

http://git-wip-us.apache.org/repos/asf/gora/blob/e5ddb78f/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/LogManager.java
----------------------------------------------------------------------
diff --git a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/LogManager.java b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/LogManager.java
index 4c3ebb1..f94d79a 100644
--- a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/LogManager.java
+++ b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/LogManager.java
@@ -17,9 +17,7 @@
  */
 package org.apache.gora.tutorial.log;
 
-import java.nio.charset.Charset;
 import java.io.BufferedReader;
-import java.io.FileReader;
 import java.io.InputStreamReader;
 import java.io.FileInputStream;
 import java.io.IOException;


Mime
View raw message