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