METHOD_0 ( ) { java . lang . String url = STRING_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { try { int IDENT_0 = url . indexOf ( STRING_1 ) ; int IDENT_1 = url . indexOf ( "/" , ( IDENT_0 + 2 ) ) ; java . net . URL IDENT_2 = new java . net . URL ( url ) ; java . lang . StringBuffer IDENT_3 = new java . lang . StringBuffer ( ) ; IDENT_3 . append ( IDENT_2 . METHOD_2 ( ) ) ; IDENT_3 . append ( STRING_2 ) ; int port = IDENT_2 . METHOD_3 ( ) ; if ( port != ( - 1 ) ) { IDENT_3 . append ( STRING_3 ) ; IDENT_3 . append ( port ) ; } url = IDENT_3 . append ( url . substring ( IDENT_1 ) ) . toString ( ) ; } catch ( com . ibm . ws . IDENT_4 . security . internal . java e ) { if ( ( com . ibm . IDENT_5 . IDENT_6 . IDENT_7 . METHOD_4 ( ) ) && ( com . ibm . ws . IDENT_4 . security . internal . IDENT_8 . tc . METHOD_5 ( ) ) ) { com . ibm . IDENT_5 . IDENT_6 . IDENT_9 . debug ( com . ibm . ws . IDENT_4 . security . internal . IDENT_8 . tc , STRING_4 , new java . lang . Object [ ] { e } ) ; } } return url ; }
org . junit . Assert . assertEquals ( url , handler . METHOD_1 ( url ) )