gossip-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecapri...@apache.org
Subject [04/12] incubator-gossip git commit: clean up warnings
Date Sat, 11 Jun 2016 00:16:41 GMT
clean up warnings


Project: http://git-wip-us.apache.org/repos/asf/incubator-gossip/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gossip/commit/6a35db7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gossip/tree/6a35db7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gossip/diff/6a35db7c

Branch: refs/heads/master
Commit: 6a35db7cb901339a3badbf3374721a8a70c7868c
Parents: 8e8db1c
Author: Edward Capriolo <edlinuxguru@gmail.com>
Authored: Mon May 16 21:33:45 2016 -0400
Committer: Edward Capriolo <edlinuxguru@gmail.com>
Committed: Tue Jun 7 22:52:53 2016 -0400

----------------------------------------------------------------------
 src/main/java/com/google/code/gossip/GossipMember.java      | 3 ---
 src/main/java/com/google/code/gossip/event/GossipState.java | 1 +
 src/test/java/io/teknek/gossip/StartupSettingsTest.java     | 3 ---
 src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java    | 1 -
 4 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/6a35db7c/src/main/java/com/google/code/gossip/GossipMember.java
----------------------------------------------------------------------
diff --git a/src/main/java/com/google/code/gossip/GossipMember.java b/src/main/java/com/google/code/gossip/GossipMember.java
index 314b5b7..56029fa 100644
--- a/src/main/java/com/google/code/gossip/GossipMember.java
+++ b/src/main/java/com/google/code/gossip/GossipMember.java
@@ -19,9 +19,6 @@ package com.google.code.gossip;
 
 import java.net.InetSocketAddress;
 
-import org.json.JSONException;
-import org.json.JSONObject;
-
 /**
  * A abstract class representing a gossip member.
  * 

http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/6a35db7c/src/main/java/com/google/code/gossip/event/GossipState.java
----------------------------------------------------------------------
diff --git a/src/main/java/com/google/code/gossip/event/GossipState.java b/src/main/java/com/google/code/gossip/event/GossipState.java
index c0bc565..e303c89 100644
--- a/src/main/java/com/google/code/gossip/event/GossipState.java
+++ b/src/main/java/com/google/code/gossip/event/GossipState.java
@@ -19,6 +19,7 @@ package com.google.code.gossip.event;
 
 public enum GossipState {
   UP("up"), DOWN("down");
+  @SuppressWarnings("unused")
   private final String state;
 
   private GossipState(String state) {

http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/6a35db7c/src/test/java/io/teknek/gossip/StartupSettingsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/io/teknek/gossip/StartupSettingsTest.java b/src/test/java/io/teknek/gossip/StartupSettingsTest.java
index 5f25dd9..bf6710e 100644
--- a/src/test/java/io/teknek/gossip/StartupSettingsTest.java
+++ b/src/test/java/io/teknek/gossip/StartupSettingsTest.java
@@ -35,9 +35,6 @@ import java.util.UUID;
 import java.util.concurrent.Callable;
 import java.util.concurrent.TimeUnit;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
 /**
  * Tests support of using {@code StartupSettings} and thereby reading
  * setup config from file.

http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/6a35db7c/src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java b/src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java
index 0065ade..277d0fe 100644
--- a/src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java
+++ b/src/test/java/io/teknek/gossip/TenNodeThreeSeedTest.java
@@ -28,7 +28,6 @@ import java.util.concurrent.TimeUnit;
 
 
 import org.apache.log4j.Logger;
-import org.junit.Assert;
 import org.junit.Test;
 
 import com.google.code.gossip.GossipMember;


Mime
View raw message