@Override
    public UserInfo getUserInfo(String userId) throws InstagramException {

        logger.info("Getting user info for : " + userId);

        Preconditions.checkEmptyString(userId, USER_ID_CANNOT_BE_NULL_OR_EMPTY);

        String apiMethod = format(Methods.USERS_WITH_ID, userId);

        return createInstagramObject(Verbs.GET, UserInfo.class, apiMethod, null);
    }
@Override
    public UserInfo getUserInfo(String userId) throws InstagramException {

        logger.info("Getting user info for : " + userId);

        Preconditions.checkEmptyString(userId, USER_ID_CANNOT_BE_NULL_OR_EMPTY);

        String apiMethod = format(Methods.USERS_WITH_ID, userId);

        return createInstagramObject(Verbs.GET, UserInfo.class, apiMethod, null);
    }
@ Override public UserInfo getUserInfo ( String userId ) throws InstagramException { logger . info ( "Getting user info for : " + userId ) ; Preconditions . checkEmptyString ( userId , USER_ID_CANNOT_BE_NULL_OR_EMPTY ) ; String apiMethod = format ( Methods . USERS_WITH_ID , userId ) ; return createInstagramObject ( Verbs . GET , UserInfo . class , apiMethod , null ) ; }
/* (non-Javadoc)
@see org.jinstagram.InstagramClient#getUserInfo(java.lang.String)
/ * ( non - Javadoc )