@ Trivial private String getNextURL ( String currentURL ) { List < String > urlList = getEnvURLList ( ) ; int urlIndex = getURLIndex ( currentURL , urlList ) ; return urlList . get ( ( urlIndex + 1 ) % urlList . size ( ) ) ; }
Returns the next URL after the specified URL .