accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [10/50] [abbrv] accumulo git commit: ACCUMULO-3167 Only half-cleaned up the isDynamic method.
Date Tue, 02 Dec 2014 20:36:58 GMT
ACCUMULO-3167 Only half-cleaned up the isDynamic method.


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

Branch: refs/heads/metrics2
Commit: 612c5749df4887e35cba23030d982ddfbf38cb85
Parents: a09d20a
Author: Josh Elser <elserj@apache.org>
Authored: Wed Nov 19 19:45:03 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Nov 24 18:08:17 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/harness/AccumuloClusterIT.java    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/612c5749/test/src/test/java/org/apache/accumulo/harness/AccumuloClusterIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/harness/AccumuloClusterIT.java b/test/src/test/java/org/apache/accumulo/harness/AccumuloClusterIT.java
index d7751e3..76bccf5 100644
--- a/test/src/test/java/org/apache/accumulo/harness/AccumuloClusterIT.java
+++ b/test/src/test/java/org/apache/accumulo/harness/AccumuloClusterIT.java
@@ -125,7 +125,7 @@ public abstract class AccumuloClusterIT extends AccumuloIT implements
MiniCluste
   @After
   public void teardownCluster() throws Exception {
     if (null != cluster) {
-      if (isDynamicCluster()) {
+      if (type.isDynamic()) {
         cluster.stop();
       } else {
         log.info("Removing tables which appear to be from the current test");
@@ -146,10 +146,6 @@ public abstract class AccumuloClusterIT extends AccumuloIT implements
MiniCluste
     return type;
   }
 
-  public boolean isDynamicCluster() {
-    return ClusterType.MINI == type;
-  }
-
   public static String getPrincipal() {
     Preconditions.checkState(initialized);
     return clusterConf.getPrincipal();


Mime
View raw message