METHOD_0 ( ) { logger . debug ( STRING_0 ) ; java . lang . String str = STRING_1 ; java . lang . String IDENT_0 = com . IDENT_1 . kernel . util . IDENT_2 . encode ( str ) ; logger . debug ( IDENT_0 ) ; java . lang . String IDENT_3 = com . IDENT_1 . kernel . util . IDENT_4 . decode ( IDENT_0 ) ; "<AssertPlaceHolder>" ; logger . debug ( STRING_2 ) ; } decode ( java . lang . String ) { int IDENT_5 = str . indexOf ( STRING_3 ) ; int IDENT_6 = str . indexOf ( STRING_4 ) ; if ( ( IDENT_5 == ( - 1 ) ) && ( IDENT_6 == ( - 1 ) ) ) { return str ; } if ( IDENT_5 == ( - 1 ) ) { IDENT_5 = IDENT_6 ; } else if ( ( IDENT_6 != ( - 1 ) ) && ( IDENT_5 > IDENT_6 ) ) { IDENT_5 = IDENT_6 ; } int len = str . length ( ) ; java . lang . StringBuilder sb = new java . lang . StringBuilder ( len ) ; sb . append ( str . substring ( 0 , IDENT_5 ) ) ; for ( int i = IDENT_5 ; i < len ; i ++ ) { char c = str . charAt ( i ) ; if ( c == STRING_4 ) { sb . append ( STRING_5 ) ; continue ; } if ( c != STRING_3 ) { sb . append ( c ) ; continue ; } if ( ( i + 2 ) >= len ) { sb . append ( c ) ; continue ; } char IDENT_7 = str . charAt ( ( i + 1 ) ) ; char IDENT_8 = str . charAt ( ( i + 2 ) ) ; i += 2 ; int IDENT_9 = org . IDENT_10 . IDENT_11 . runtime . binding . utils . IDENT_12 . METHOD_1 ( IDENT_7 ) ; int IDENT_13 = org . IDENT_10 . IDENT_11 . runtime . binding . utils . IDENT_12 . METHOD_1 ( IDENT_8 ) ; if ( ( IDENT_9 == ( - 1 ) ) || ( IDENT_13 == ( - 1 ) ) ) { sb . append ( IDENT_7 ) ; sb . append ( IDENT_8 ) ; continue ; } sb . append ( ( ( char ) ( ( IDENT_9 << 4 ) | IDENT_13 ) ) ) ; } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( str , IDENT_3 )