Permalink
Browse files

TFJ-738 rename isWantRetweets() to isSourceWantRetweets()

  • Loading branch information...
1 parent 8806e80 commit 7aa5c6cab62301f8d93c85432eaa1ad8bfef3cab @yusuke committed Dec 12, 2012
@@ -159,8 +159,8 @@ public boolean isSourceNotificationsEnabled() {
}
@Override
- public boolean isWantRetweets() {
- return getTarget().isWantRetweets();
+ public boolean isSourceWantRetweets() {
+ return getTarget().isSourceWantRetweets();
}
@@ -103,6 +103,6 @@
* @return true if the retweets from the target user enabled
* @since Twitter4J 3.0.3
*/
- boolean isWantRetweets();
+ boolean isSourceWantRetweets();
}
@@ -192,7 +192,7 @@ public boolean isSourceNotificationsEnabled() {
* {@inheritDoc}
*/
@Override
- public boolean isWantRetweets() {
+ public boolean isSourceWantRetweets() {
return wantRetweets;
}
@@ -219,8 +219,8 @@ public void testRelationship() throws Exception {
Relationship updatedRelationship = twitter1.updateFriendship(id3.id, false, false);
assertEquals(id3.screenName, updatedRelationship.getTargetUserScreenName());
- assertEquals(false, updatedRelationship.isSourceNotificationsEnabled());
- assertEquals(false, updatedRelationship.isWantRetweets());
+ assertFalse(updatedRelationship.isSourceNotificationsEnabled());
+ assertFalse(updatedRelationship.isSourceWantRetweets());
}
public void testIncomingOutgoingFriendships() throws Exception {

0 comments on commit 7aa5c6c

Please sign in to comment.