Twitter4J

cursor-based pagination for statuses/friends and statuses/followers.

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1.0
  • Component/s: Core
  • Labels:
    None

Activity

Hide
Yusuke Yamamoto added a comment -
ResponseList is extending ArrayList as following:
----------
public class ResponseList<T extends TwitterResponse> extends ArrayList
        implements TwitterResponse {
----------

PagableResponseList / ResponseList are not extending ArrayList properly to take advantage of the generics.
They need to specify the generic types implicitly as follows:
----------
public class ResponseList<T extends TwitterResponse> extends ArrayList<T>
        implements TwitterResponse {
----------
Show
Yusuke Yamamoto added a comment - ResponseList is extending ArrayList as following: ---------- public class ResponseList<T extends TwitterResponse> extends ArrayList         implements TwitterResponse { ---------- PagableResponseList / ResponseList are not extending ArrayList properly to take advantage of the generics. They need to specify the generic types implicitly as follows: ---------- public class ResponseList<T extends TwitterResponse> extends ArrayList<T>         implements TwitterResponse { ----------
Hide
Yusuke Yamamoto added a comment -
fixed.
Show
Yusuke Yamamoto added a comment - fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: