accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-3231 Remove unused imports; fix javadocs
Date Fri, 07 Nov 2014 23:50:04 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 3922e1ab4 -> 566839ef7


ACCUMULO-3231 Remove unused imports; fix javadocs


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

Branch: refs/heads/master
Commit: e62b997c14b79f5449bef240cd96133db4ab6a48
Parents: 3922e1a
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Fri Nov 7 18:40:58 2014 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Fri Nov 7 18:40:58 2014 -0500

----------------------------------------------------------------------
 .../test/replication/merkle/cli/ManualComparison.java         | 7 ++-----
 .../accumulo/test/replication/merkle/skvi/DigestIterator.java | 3 ---
 2 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/e62b997c/test/src/main/java/org/apache/accumulo/test/replication/merkle/cli/ManualComparison.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/replication/merkle/cli/ManualComparison.java
b/test/src/main/java/org/apache/accumulo/test/replication/merkle/cli/ManualComparison.java
index 9f52233..c1d6337 100644
--- a/test/src/main/java/org/apache/accumulo/test/replication/merkle/cli/ManualComparison.java
+++ b/test/src/main/java/org/apache/accumulo/test/replication/merkle/cli/ManualComparison.java
@@ -35,16 +35,13 @@ import com.beust.jcommander.Parameter;
 public class ManualComparison {
 
   public static class ManualComparisonOpts extends ClientOpts {
-    @Parameter(names={"--table1"}, required = true, description = "First table")
+    @Parameter(names = {"--table1"}, required = true, description = "First table")
     public String table1;
 
-    @Parameter(names={"--table2"}, required = true, description = "First table")
+    @Parameter(names = {"--table2"}, required = true, description = "First table")
     public String table2;
   }
 
-  /**
-   * @param args
-   */
   public static void main(String[] args) throws Exception {
     ManualComparisonOpts opts = new ManualComparisonOpts();
     opts.parseArgs("ManualComparison", args);

http://git-wip-us.apache.org/repos/asf/accumulo/blob/e62b997c/test/src/main/java/org/apache/accumulo/test/replication/merkle/skvi/DigestIterator.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/replication/merkle/skvi/DigestIterator.java
b/test/src/main/java/org/apache/accumulo/test/replication/merkle/skvi/DigestIterator.java
index dcda76a..5fa9a5f 100644
--- a/test/src/main/java/org/apache/accumulo/test/replication/merkle/skvi/DigestIterator.java
+++ b/test/src/main/java/org/apache/accumulo/test/replication/merkle/skvi/DigestIterator.java
@@ -30,8 +30,6 @@ import org.apache.accumulo.core.data.Range;
 import org.apache.accumulo.core.data.Value;
 import org.apache.accumulo.core.iterators.IteratorEnvironment;
 import org.apache.accumulo.core.iterators.SortedKeyValueIterator;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /**
  * {@link SortedKeyValueIterator} which attempts to compute a hash over some range of Key-Value
pairs.
@@ -40,7 +38,6 @@ import org.slf4j.LoggerFactory;
  * Range. If the (Batch)Scanner stops and restarts in the middle of a session, incorrect
values will be returned and the merkle tree will be invalid.
  */
 public class DigestIterator implements SortedKeyValueIterator<Key,Value> {
-  private static final Logger log = LoggerFactory.getLogger(DigestIterator.class);
   public static final String HASH_NAME_KEY = "hash.name";
 
   private MessageDigest digest;


Mime
View raw message