METHOD_0 ( ) { java . lang . String sql = STRING_0 ; java . lang . String IDENT_0 = STRING_1 ; java . lang . String IDENT_1 = null ; IDENT_1 = com . IDENT_2 . IDENT_3 . common . utils . IDENT_4 . METHOD_1 ( sql ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( str == null ) { return null ; } str = str . trim ( ) ; int IDENT_5 = str . length ( ) ; java . lang . StringBuilder buffer = new java . lang . StringBuilder ( IDENT_5 ) ; int index = 0 ; int IDENT_6 = - 1 ; int IDENT_7 = - 1 ; for ( int i = 0 ; i < IDENT_5 ; i ++ ) { char c = str . charAt ( i ) ; if ( ! ( java . lang . IDENT_8 . METHOD_2 ( c ) ) ) { if ( IDENT_6 != ( - 1 ) ) { if ( ( IDENT_6 != IDENT_7 ) || ( ( str . charAt ( ( i - 1 ) ) ) != STRING_2 ) ) { buffer . append ( str . substring ( index , IDENT_6 ) ) . append ( " " ) ; index = IDENT_7 + 1 ; } } IDENT_6 = IDENT_7 = - 1 ; } else { if ( IDENT_6 == ( - 1 ) ) { IDENT_6 = IDENT_7 = i ; } else { IDENT_7 = i ; } } } buffer . append ( str . substring ( index ) ) ; return buffer . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_1 )