METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > IDENT_0 = METHOD_1 ( org . pentaho . di . core . database . IDENT_1 . IDENT_2 , 1 ) ; java . lang . String IDENT_3 = ( ( ( ( org . pentaho . di . core . database . IDENT_1 . IDENT_4 ) + 0 ) + ( IDENT_5 . METHOD_2 ( ) ) ) + ( org . pentaho . di . core . database . IDENT_1 . IDENT_6 ) ) + 0 ; java . lang . String IDENT_7 = ( ( IDENT_8 ) + ( IDENT_5 . METHOD_3 ( ) ) ) + IDENT_3 ; java . lang . String IDENT_9 = meta . METHOD_4 ( IDENT_8 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . util . Map ) { if ( IDENT_0 . isEmpty ( ) ) { return url ; } java . lang . StringBuilder IDENT_10 = new java . lang . StringBuilder ( url ) ; final java . lang . String IDENT_11 = METHOD_5 ( ) ; final java . lang . String IDENT_12 = METHOD_3 ( ) ; final java . lang . String IDENT_13 = METHOD_2 ( ) ; java . util . Iterator < java . lang . String > iterator = IDENT_0 . METHOD_6 ( ) . iterator ( ) ; boolean first = true ; while ( iterator . hasNext ( ) ) { java . lang . String IDENT_14 = iterator . next ( ) ; int IDENT_15 = IDENT_14 . indexOf ( STRING_0 ) ; if ( IDENT_15 == ( - 1 ) ) { continue ; } final java . lang . String value = IDENT_0 . get ( IDENT_14 ) ; if ( ( org . pentaho . di . core . util . Utils . isEmpty ( value ) ) || ( value . equals ( org . pentaho . di . core . database . IDENT_16 . IDENT_17 ) ) ) { continue ; } final java . lang . String IDENT_18 = IDENT_14 . substring ( 0 , IDENT_15 ) ; final java . lang . String parameter = IDENT_14 . substring ( ( IDENT_15 + 1 ) ) ; boolean IDENT_19 = false ; try { org . pentaho . di . core . database . IDENT_20 IDENT_21 = METHOD_7 ( IDENT_18 ) ; IDENT_19 = METHOD_8 ( IDENT_21 , METHOD_9 ( ) ) ; } catch ( org . pentaho . di . core . exception . IDENT_22 e ) { METHOD_10 ( ) . METHOD_11 ( ( ( ( ( STRING_1 + IDENT_18 ) + STRING_2 ) + parameter ) + STRING_3 ) ) ; } if ( IDENT_19 ) { if ( first && ( ( url . indexOf ( IDENT_13 ) ) == ( - 1 ) ) ) { IDENT_10 . append ( IDENT_11 ) ; } else { IDENT_10 . append ( IDENT_12 ) ; } IDENT_10 . append ( METHOD_12 ( parameter ) ) . append ( IDENT_13 ) . append ( METHOD_12 ( value ) ) ; first = false ; } } return IDENT_10 . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_9 )