METHOD_0 ( ) { java . lang . String result = org . apache . IDENT_0 . lib . IDENT_1 . METHOD_1 ( "foo" , IDENT_2 . IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , org . apache . IDENT_0 . lib . IDENT_2 ) { char IDENT_4 = IDENT_5 . METHOD_2 ( ) ; char IDENT_6 = IDENT_5 . METHOD_3 ( ) ; boolean IDENT_7 = IDENT_5 . METHOD_4 ( ) ; boolean IDENT_8 = ( IDENT_2 . IDENT_9 ) != IDENT_4 ; java . lang . String IDENT_10 ; if ( null == str ) { return null ; } if ( IDENT_8 ) { IDENT_10 = str . replace ( ( "" + IDENT_4 ) , ( ( "" + IDENT_4 ) + IDENT_4 ) ) ; } else { IDENT_10 = str ; } if ( ( IDENT_2 . IDENT_9 ) == IDENT_6 ) { if ( IDENT_8 ) { java . lang . String fields = "" + ( IDENT_5 . METHOD_5 ( ) ) ; java . lang . String IDENT_11 = "" + ( IDENT_5 . METHOD_6 ( ) ) ; IDENT_10 = IDENT_10 . replace ( fields , ( ( "" + IDENT_4 ) + fields ) ) ; IDENT_10 = IDENT_10 . replace ( IDENT_11 , ( ( "" + IDENT_4 ) + IDENT_11 ) ) ; } return IDENT_10 ; } if ( IDENT_8 ) { IDENT_10 = IDENT_10 . replace ( ( "" + IDENT_6 ) , ( ( "" + IDENT_4 ) + IDENT_6 ) ) ; } boolean IDENT_12 = IDENT_7 ; if ( ! IDENT_12 ) { char [ ] IDENT_13 = new char [ 2 ] ; IDENT_13 [ 0 ] = IDENT_5 . METHOD_5 ( ) ; IDENT_13 [ 1 ] = IDENT_5 . METHOD_6 ( ) ; for ( char IDENT_14 : IDENT_13 ) { if ( ( str . indexOf ( IDENT_14 ) ) != ( - 1 ) ) { IDENT_12 = true ; break ; } } } if ( IDENT_12 ) { return ( ( "" + IDENT_6 ) + IDENT_10 ) + IDENT_6 ; } else { return IDENT_10 ; } }
org . junit . Assert . assertEquals ( "foo" , result )