Some minor improvements from static analysis

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2017-11-07 17:28:28 +11:00
parent 2a82e16c61
commit 417599c2ab
15 changed files with 44 additions and 56 deletions

View File

@@ -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);