You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2018/02/15 02:50:26 UTC
[accumulo] branch 1.8 updated: fixed javadoc warning and findbugs
complaint
This is an automated email from the ASF dual-hosted git repository.
kturner pushed a commit to branch 1.8
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/1.8 by this push:
new 13de822 fixed javadoc warning and findbugs complaint
13de822 is described below
commit 13de822ae07d55b41b639396225f649a035afd48
Author: Keith Turner <kt...@apache.org>
AuthorDate: Wed Feb 14 21:50:11 2018 -0500
fixed javadoc warning and findbugs complaint
---
.../src/test/java/org/apache/accumulo/fate/zookeeper/ZooCacheTest.java | 3 +--
.../main/java/org/apache/accumulo/server/conf/TableConfiguration.java | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooCacheTest.java b/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooCacheTest.java
index 6d323b7..3c5cbb2 100644
--- a/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooCacheTest.java
+++ b/fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooCacheTest.java
@@ -33,7 +33,6 @@ import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import java.util.List;
-import java.util.Random;
import org.apache.accumulo.fate.zookeeper.ZooCache.ZcStat;
import org.apache.zookeeper.KeeperException;
@@ -81,7 +80,7 @@ public class ZooCacheTest {
if (fillStat) {
myStat = new ZcStat();
}
- final long ephemeralOwner = new Random().nextLong();
+ final long ephemeralOwner = 123456789L;
Stat existsStat = new Stat();
existsStat.setEphemeralOwner(ephemeralOwner);
expect(zk.exists(eq(ZPATH), anyObject(Watcher.class))).andReturn(existsStat);
diff --git a/server/base/src/main/java/org/apache/accumulo/server/conf/TableConfiguration.java b/server/base/src/main/java/org/apache/accumulo/server/conf/TableConfiguration.java
index 8e68d5f..2de8494 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/conf/TableConfiguration.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/conf/TableConfiguration.java
@@ -116,8 +116,7 @@ public class TableConfiguration extends ObservableConfiguration {
}
/**
- * Gets the parent configuration of this configuration. The parent is actually a {@link TableParentConfiguration} that can change which namespace it
- * references.
+ * Gets the parent configuration of this configuration.
*
* @return parent configuration
*/
--
To stop receiving notification emails like this one, please contact
kturner@apache.org.