From 68edff38959d546ab2a8377bf42310338ea6fdcb Mon Sep 17 00:00:00 2001 From: "adrian.f.cole" Date: Mon, 9 Nov 2009 06:43:58 +0000 Subject: [PATCH] formatting git-svn-id: http://jclouds.googlecode.com/svn/trunk@2240 3d8758e0-26b5-11de-8745-db77d3ebf521 --- .../java/org/jclouds/twitter/config/TwitterContextModule.java | 4 ++-- twitter/src/main/java/org/jclouds/twitter/domain/User.java | 1 - .../test/java/org/jclouds/twitter/TwitterClientLiveTest.java | 2 +- .../java/org/jclouds/twitter/TwitterContextBuilderTest.java | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) 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; }