protected synchronized void request(String stream){
  if (stream == null || stream.isEmpty()) {
    return;
  }
  stream=stream.toLowerCase(Locale.ENGLISH);
  FollowerInfo cachedInfo=cached.get(stream);
  if (cachedInfo == null || checkTimePassed(cachedInfo)) {
    if (type == Follower.Type.FOLLOWER) {
      api.requestFollowers(stream);
    }
 else     if (type == Follower.Type.SUBSCRIBER) {
      api.requestSubscribers(stream);
    }
  }
 else {
    if (type == Follower.Type.FOLLOWER) {
      listener.receivedFollowers(cachedInfo);
    }
 else     if (type == Follower.Type.SUBSCRIBER) {
      listener.receivedSubscribers(cachedInfo);
    }
  }
}

protected synchronized void request ( String stream ) { if ( stream == null || stream . isEmpty ( ) ) { return ; } stream = stream . toLowerCase ( Locale . ENGLISH ) ; FollowerInfo cachedInfo = cached . get ( stream ) ; if ( cachedInfo == null || checkTimePassed ( cachedInfo ) ) { if ( type == Follower . Type . FOLLOWER ) { api . requestFollowers ( stream ) ; } else if ( type == Follower . Type . SUBSCRIBER ) { api . requestSubscribers ( stream ) ; } } else { if ( type == Follower . Type . FOLLOWER ) { listener . receivedFollowers ( cachedInfo ) ; } else if ( type == Follower . Type . SUBSCRIBER ) { listener . receivedSubscribers ( cachedInfo ) ; } } }
checks if there is info already cached and whether it is old enough to be updated , in which case it requests the data from the api .
