formatting

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2240 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-11-09 06:43:58 +00:00
parent b3e27b15e2
commit 68edff3895
4 changed files with 5 additions and 6 deletions

View File

@ -53,8 +53,8 @@ public class TwitterContextModule extends AbstractModule {
@Provides @Provides
@Singleton @Singleton
RestContext<TwitterClient> provideContext(Closer closer, TwitterClient defaultApi, @Twitter URI endPoint, RestContext<TwitterClient> provideContext(Closer closer, TwitterClient defaultApi,
@Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) { @Twitter URI endPoint, @Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) {
return new RestContextImpl<TwitterClient>(closer, defaultApi, endPoint, account); return new RestContextImpl<TwitterClient>(closer, defaultApi, endPoint, account);
} }

View File

@ -32,7 +32,6 @@ import com.google.gson.annotations.SerializedName;
/** /**
* *
* @author Adrian Cole * @author Adrian Cole
*
*/ */
public class User implements Comparable<User> { public class User implements Comparable<User> {
@SerializedName("created_at") @SerializedName("created_at")

View File

@ -57,7 +57,7 @@ public class TwitterClientLiveTest {
@Test @Test
public void testGetMyMentions() throws Exception { public void testGetMyMentions() throws Exception {
SortedSet<Status> response = connection.getMyMentions().get(1, TimeUnit.SECONDS); SortedSet<Status> response = connection.getMyMentions().get(1, TimeUnit.SECONDS);
assert(response.size() >0); assert (response.size() > 0);
} }
} }

View File

@ -82,8 +82,8 @@ public class TwitterContextBuilderTest {
} }
private TwitterContextBuilder newBuilder() { private TwitterContextBuilder newBuilder() {
TwitterContextBuilder builder = new TwitterContextBuilder(new TwitterPropertiesBuilder("user", TwitterContextBuilder builder = new TwitterContextBuilder(new TwitterPropertiesBuilder(
"password").build()); "user", "password").build());
return builder; return builder;
} }