From 470e70e97b902548002e579d7fff4a851960c8ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 29 Oct 2013 20:00:44 +0100 Subject: [PATCH] Remove unnecessary local variable. --- src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.7.4