diff --git a/twitter/src/main/java/org/jclouds/twitter/config/TwitterContextModule.java b/twitter/src/main/java/org/jclouds/twitter/config/TwitterContextModule.java index 8780d0a403..bb75f24fbf 100644 --- a/twitter/src/main/java/org/jclouds/twitter/config/TwitterContextModule.java +++ b/twitter/src/main/java/org/jclouds/twitter/config/TwitterContextModule.java @@ -53,8 +53,8 @@ public class TwitterContextModule extends AbstractModule { @Provides @Singleton - RestContext provideContext(Closer closer, TwitterClient defaultApi, @Twitter URI endPoint, - @Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) { + RestContext provideContext(Closer closer, TwitterClient defaultApi, + @Twitter URI endPoint, @Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) { return new RestContextImpl(closer, defaultApi, endPoint, account); } diff --git a/twitter/src/main/java/org/jclouds/twitter/domain/User.java b/twitter/src/main/java/org/jclouds/twitter/domain/User.java index c04a306dc3..67aadef244 100644 --- a/twitter/src/main/java/org/jclouds/twitter/domain/User.java +++ b/twitter/src/main/java/org/jclouds/twitter/domain/User.java @@ -32,7 +32,6 @@ import com.google.gson.annotations.SerializedName; /** * * @author Adrian Cole - * */ public class User implements Comparable { @SerializedName("created_at") diff --git a/twitter/src/test/java/org/jclouds/twitter/TwitterClientLiveTest.java b/twitter/src/test/java/org/jclouds/twitter/TwitterClientLiveTest.java index 76a7f45fce..bb0797f7d7 100644 --- a/twitter/src/test/java/org/jclouds/twitter/TwitterClientLiveTest.java +++ b/twitter/src/test/java/org/jclouds/twitter/TwitterClientLiveTest.java @@ -57,7 +57,7 @@ public class TwitterClientLiveTest { @Test public void testGetMyMentions() throws Exception { SortedSet response = connection.getMyMentions().get(1, TimeUnit.SECONDS); - assert(response.size() >0); + assert (response.size() > 0); } } diff --git a/twitter/src/test/java/org/jclouds/twitter/TwitterContextBuilderTest.java b/twitter/src/test/java/org/jclouds/twitter/TwitterContextBuilderTest.java index 168b8b9be2..e770b2ed28 100644 --- a/twitter/src/test/java/org/jclouds/twitter/TwitterContextBuilderTest.java +++ b/twitter/src/test/java/org/jclouds/twitter/TwitterContextBuilderTest.java @@ -82,8 +82,8 @@ public class TwitterContextBuilderTest { } private TwitterContextBuilder newBuilder() { - TwitterContextBuilder builder = new TwitterContextBuilder(new TwitterPropertiesBuilder("user", - "password").build()); + TwitterContextBuilder builder = new TwitterContextBuilder(new TwitterPropertiesBuilder( + "user", "password").build()); return builder; }