From 79f8a4ca967da3a0e9c53640117576ea92601d15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 30 Oct 2013 07:19:28 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20use=20static=20imports=20if=20mo?= =?utf8?q?re=20than=20one=20TIME=5FCOMPARATOR=20is=20used.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/test/java/net/pterodactylus/sone/data/Mocks.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/net/pterodactylus/sone/data/Mocks.java b/src/test/java/net/pterodactylus/sone/data/Mocks.java index d5c2c08..07ca567 100644 --- a/src/test/java/net/pterodactylus/sone/data/Mocks.java +++ b/src/test/java/net/pterodactylus/sone/data/Mocks.java @@ -21,7 +21,6 @@ import static com.google.common.base.Optional.of; import static com.google.common.collect.ArrayListMultimap.create; import static com.google.common.collect.Ordering.from; import static com.google.common.collect.Sets.newHashSet; -import static net.pterodactylus.sone.data.Post.TIME_COMPARATOR; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; @@ -133,7 +132,7 @@ public class Mocks { when(mockedSone.getPosts()).then(new Answer>() { @Override public List answer(InvocationOnMock invocationOnMock) throws Throwable { - return from(TIME_COMPARATOR).sortedCopy(sonePosts.get(mockedSone)); + return from(Post.TIME_COMPARATOR).sortedCopy(sonePosts.get(mockedSone)); } }); when(mockedSone.toString()).thenReturn(String.format("Sone[%s]", id)); -- 2.7.4