clean up warnings

This commit is contained in:
Edward Capriolo
2016-05-16 21:33:45 -04:00
parent bee4936f43
commit 441c68c712
4 changed files with 1 additions and 7 deletions

View File

@ -19,9 +19,6 @@ package com.google.code.gossip;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
import org.json.JSONException;
import org.json.JSONObject;
/** /**
* A abstract class representing a gossip member. * A abstract class representing a gossip member.
* *

View File

@ -19,6 +19,7 @@ package com.google.code.gossip.event;
public enum GossipState { public enum GossipState {
UP("up"), DOWN("down"); UP("up"), DOWN("down");
@SuppressWarnings("unused")
private final String state; private final String state;
private GossipState(String state) { private GossipState(String state) {

View File

@ -35,9 +35,6 @@ import java.util.UUID;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit; 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 * Tests support of using {@code StartupSettings} and thereby reading
* setup config from file. * setup config from file.

View File

@ -28,7 +28,6 @@ import java.util.concurrent.TimeUnit;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
import com.google.code.gossip.GossipMember; import com.google.code.gossip.GossipMember;