clean up warnings
This commit is contained in:
@ -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.
|
||||||
*
|
*
|
||||||
|
@ -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) {
|
||||||
|
@ -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.
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user