question: String encodedPassword ( ) { if ( password . isEmpty ( ) ) return "" ; int passwordStart = url . indexOf ( ':' , scheme . length ( ) + 3 ) + 1 ; int passwordEnd = url . indexOf ( '@' ) ; return url . substring ( passwordStart , passwordEnd ) ; }
target:  Returns the password, or an empty string if none is set. 