summaryrefslogtreecommitdiffstats
path: root/src/test/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-11-07 17:28:28 +1100
committermd_5 <git@md-5.net>2017-11-07 17:28:28 +1100
commit931e7ed751b113c198cc66dddd239f0ab91ac20a (patch)
tree42b91e85c77103f265b477b6ff855582c14447ca /src/test/java/org
parentcef79e55153e438d9ef4b87f4de45cd59233f01e (diff)
downloadbukkit-931e7ed751b113c198cc66dddd239f0ab91ac20a.tar
bukkit-931e7ed751b113c198cc66dddd239f0ab91ac20a.tar.gz
bukkit-931e7ed751b113c198cc66dddd239f0ab91ac20a.tar.lz
bukkit-931e7ed751b113c198cc66dddd239f0ab91ac20a.tar.xz
bukkit-931e7ed751b113c198cc66dddd239f0ab91ac20a.zip
Some minor improvements from static analysis
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/bukkit/conversations/ConversationTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/org/bukkit/conversations/ConversationTest.java b/src/test/java/org/bukkit/conversations/ConversationTest.java
index 732caab2..814d7f5d 100644
--- a/src/test/java/org/bukkit/conversations/ConversationTest.java
+++ b/src/test/java/org/bukkit/conversations/ConversationTest.java
@@ -27,7 +27,7 @@ public class ConversationTest {
assertEquals("SecondPrompt", forWhom.lastSentMessage);
assertEquals(conversation, forWhom.abandonedConverstion);
}
-
+
@Test
public void testConversationFactory() {
FakeConversable forWhom = new FakeConversable();
@@ -75,7 +75,6 @@ public class ConversationTest {
@Test
public void testNotPlayer() {
FakeConversable forWhom = new FakeConversable();
- NullConversationPrefix prefix = new NullConversationPrefix();
ConversationFactory factory = new ConversationFactory(null)
.thatExcludesNonPlayersWithMessage("bye");
Conversation conversation = factory.buildConversation(forWhom);