mirror of https://github.com/apache/jclouds.git
formatting
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2240 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
b3e27b15e2
commit
68edff3895
|
@ -53,8 +53,8 @@ public class TwitterContextModule extends AbstractModule {
|
|||
|
||||
@Provides
|
||||
@Singleton
|
||||
RestContext<TwitterClient> provideContext(Closer closer, TwitterClient defaultApi, @Twitter URI endPoint,
|
||||
@Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) {
|
||||
RestContext<TwitterClient> provideContext(Closer closer, TwitterClient defaultApi,
|
||||
@Twitter URI endPoint, @Named(TwitterConstants.PROPERTY_TWITTER_USER) String account) {
|
||||
return new RestContextImpl<TwitterClient>(closer, defaultApi, endPoint, account);
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ import com.google.gson.annotations.SerializedName;
|
|||
/**
|
||||
*
|
||||
* @author Adrian Cole
|
||||
*
|
||||
*/
|
||||
public class User implements Comparable<User> {
|
||||
@SerializedName("created_at")
|
||||
|
|
|
@ -57,7 +57,7 @@ public class TwitterClientLiveTest {
|
|||
@Test
|
||||
public void testGetMyMentions() throws Exception {
|
||||
SortedSet<Status> response = connection.getMyMentions().get(1, TimeUnit.SECONDS);
|
||||
assert(response.size() >0);
|
||||
assert (response.size() > 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue