From: David ‘Bombe’ Roden Date: Tue, 29 Oct 2013 19:00:44 +0000 (+0100) Subject: Remove unnecessary local variable. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=470e70e97b902548002e579d7fff4a851960c8ed;p=Sone.git Remove unnecessary local variable. --- diff --git a/src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java b/src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java index 09abef6..002ca9b 100644 --- a/src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java +++ b/src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java @@ -54,7 +54,8 @@ public class GetLocalSonesCommandTest { @Test public void verifyThatOnlyLocalSonesAreReturned() throws FSParseException { Collection localSones = asList(mocks.mockLocalSone("LSone1"), mocks.mockLocalSone("LSone2"), mocks.mockLocalSone("LSone3")); - Collection remoteSones = asList(mocks.mockRemoteSone("RSone1"), mocks.mockRemoteSone("RSone2")); + mocks.mockRemoteSone("RSone1"); + mocks.mockRemoteSone("RSone2"); SimpleFieldSet getLocalSonesFieldSet = new SimpleFieldSetBuilder().put("Message", "GetLocalSones").get(); Response response = getLocalSonesCommand.execute(getLocalSonesFieldSet, null, DIRECT); assertThat(response, notNullValue());