question: public boolean prepareConnection ( String server , String ports , String channel ) { String username = settings . getString ( "username" ) ; String password = settings . getString ( "password" ) ; boolean usePassword = settings . getBoolean ( "usePassword" ) ; String token = settings . getString ( "token" ) ; String login = "oauth:" + token ; if ( token . isEmpty ( ) ) { login = "" ; } if ( usePassword ) { login = password ; LOGGER . info ( "Using password instead of token." ) ; } return prepareConnection ( username , login , channel , server , ports ) ; }
target:  Prepares the connection while getting everything from the renametings, except the server/port.