Skip to content

Commit

Permalink
update @Sicne version
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke committed Jun 4, 2014
1 parent 6bf4eab commit 8c1a0f1
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
Expand Up @@ -381,7 +381,7 @@ public interface ListsResourcesAsync {
* @param newListName What you'd like to change the list's name to.
* @param isPublicList Whether your list is public or private. Optional. Values can be public or private. Lists are public by default if no mode is specified.
* @param newDescription What you'd like to change the list description to.
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update ">POST lists/update | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update">POST lists/update | Twitter Developers</a>
* @since Twitter4J 2.1.1
*/
void updateUserList(long listId, String newListName, boolean isPublicList, String newDescription);
Expand All @@ -395,7 +395,7 @@ public interface ListsResourcesAsync {
* @param newListName What you'd like to change the list's name to.
* @param isPublicList Whether your list is public or private. Optional. Values can be public or private. Lists are public by default if no mode is specified.
* @param newDescription What you'd like to change the list description to.
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update ">POST lists/update | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update">POST lists/update | Twitter Developers</a>
* @since Twitter4J 3.0.0
*/
void updateUserList(long ownerId, String slug, String newListName, boolean isPublicList, String newDescription);
Expand All @@ -407,7 +407,7 @@ public interface ListsResourcesAsync {
* @param listName The name of the list you are creating. Required.
* @param isPublicList set true if you wish to make a public list
* @param description The description of the list you are creating. Optional.
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/create ">POST lists/create | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/create">POST lists/create | Twitter Developers</a>
* @since Twitter4J 2.1.1
*/
void createUserList(String listName, boolean isPublicList, String description);
Expand Down
2 changes: 1 addition & 1 deletion twitter4j-core/src/main/java/twitter4j/EntitySupport.java
Expand Up @@ -55,7 +55,7 @@ public interface EntitySupport {
* Returns an array of ExtendedMediaEntities if media of extended_entities are available in the tweet. This method will an empty array if no extended-medias were mentioned.
* @see <a href="https://dev.twitter.com/docs/api/multiple-media-extended-entities">Multiple Media Entities in Statuses</a>
* @return an array of ExtendedMediaEntities.
* @since Twitter4J 4.x.x TODO
* @since Twitter4J 4.0.2
*/
MediaEntity[] getExtendedMediaEntities();

Expand Down
2 changes: 1 addition & 1 deletion twitter4j-core/src/main/java/twitter4j/StatusUpdate.java
Expand Up @@ -124,7 +124,7 @@ public void setMedia(String name, InputStream body) {
}

/**
* @since Twitter4J 4.x.x TODO
* @since Twitter4J 4.0.2
*/
public void setMediaIds(long[] mediaIds) {
this.mediaIds = mediaIds;
Expand Down
2 changes: 1 addition & 1 deletion twitter4j-core/src/main/java/twitter4j/UploadedMedia.java
Expand Up @@ -19,7 +19,7 @@
* Represents result of "/1.1/media/upload.json"
*
* @author Hiroaki TAKEUCHI - takke30 at gmail.com
* @since Twitter4J 4.x.x TODO
* @since Twitter4J 4.0.2
*/
public final class UploadedMedia implements java.io.Serializable {

Expand Down
Expand Up @@ -673,7 +673,7 @@ PagableResponseList<User> getUserListMembers(String ownerScreenName, String slug
* @param newDescription What you'd like to change the list description to.
* @return the updated list
* @throws TwitterException when Twitter service or network is unavailable
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update ">POST lists/update | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update">POST lists/update | Twitter Developers</a>
* @since Twitter4J 2.1.0
*/
UserList updateUserList(long listId, String newListName, boolean isPublicList, String newDescription)
Expand All @@ -690,7 +690,7 @@ UserList updateUserList(long listId, String newListName, boolean isPublicList, S
* @param newDescription What you'd like to change the list description to.
* @return the updated list
* @throws TwitterException when Twitter service or network is unavailable
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update ">POST lists/update | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update">POST lists/update | Twitter Developers</a>
* @since Twitter4J 3.0.0
*/
UserList updateUserList(long ownerId, String slug, String newListName, boolean isPublicList, String newDescription)
Expand All @@ -707,7 +707,7 @@ UserList updateUserList(long ownerId, String slug, String newListName, boolean i
* @param newDescription What you'd like to change the list description to.
* @return the updated list
* @throws TwitterException when Twitter service or network is unavailable
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update ">POST lists/update | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/update">POST lists/update | Twitter Developers</a>
* @since Twitter4J 3.0.2
*/
UserList updateUserList(String ownerScreenName, String slug, String newListName, boolean isPublicList, String newDescription)
Expand All @@ -722,7 +722,7 @@ UserList updateUserList(String ownerScreenName, String slug, String newListName,
* @param description The description of the list you are creating. Optional.
* @return the list that was created
* @throws twitter4j.TwitterException when Twitter service or network is unavailable, or the authenticated user already has 20 lists(TwitterException.getStatusCode() == 403).
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/create ">POST lists/create | Twitter Developers</a>
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/lists/create">POST lists/create | Twitter Developers</a>
* @since Twitter4J 2.1.0
*/
UserList createUserList(String listName, boolean isPublicList, String description)
Expand Down
12 changes: 6 additions & 6 deletions twitter4j-core/src/main/java/twitter4j/api/TweetsResources.java
Expand Up @@ -16,10 +16,10 @@

package twitter4j.api;

import java.io.File;

import twitter4j.*;

import java.io.File;

/**
* @author Joern Huxhorn - jhuxhorn at googlemail.com
*/
Expand Down Expand Up @@ -155,15 +155,15 @@ public interface TweetsResources {
ResponseList<Status> lookup(long[] ids) throws TwitterException;

/**
* Uploads media image
* TODO update this description
* Uploads media image to be attached via {@link #updateStatus(twitter4j.StatusUpdate)}
* <br>This method calls https://api.twitter.com/1.1/media/upload.json
*
* @param latestStatus the latest status to be updated.
* @param mediaFile the latest status to be updated.
* @return upload result
* @throws TwitterException when Twitter service or network is unavailable
* @see <a href="https://dev.twitter.com/docs/api/1.1/post/statuses/update">POST statuses/update | Twitter Developers</a>
* @since Twitter4J 4.x.x TODO
* @see <a href="https://dev.twitter.com/docs/api/multiple-media-extended-entities">Multiple Media Entities in Statuses</a>
* @since Twitter4J 4.0.2
*/
UploadedMedia uploadMedia(File mediaFile) throws TwitterException;

Expand Down

0 comments on commit 8c1a0f1

Please sign in to comment.