METHOD_0 ( ) { io . github . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new io . github . IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_4 ) ; java . lang . String IDENT_5 = IDENT_3 . METHOD_2 ( ) ; java . io . File result = IDENT_3 . METHOD_3 ( version , new java . net . URL ( url ) ) ; log . info ( STRING_0 , result ) ; log . info ( ( IDENT_5 + ( target ) ) ) ; java . io . File IDENT_6 = new java . io . File ( ( IDENT_5 + ( target ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . net . URL ) { log . trace ( STRING_1 , version , url ) ; java . lang . String IDENT_7 = url . METHOD_4 ( ) . substring ( url . METHOD_4 ( ) . METHOD_5 ( STRING_2 ) ) ; int IDENT_8 = IDENT_7 . indexOf ( STRING_3 ) ; int IDENT_9 = IDENT_7 . indexOf ( STRING_4 ) ; int IDENT_10 = IDENT_7 . length ( ) ; if ( IDENT_8 != ( IDENT_7 . METHOD_5 ( STRING_3 ) ) ) { IDENT_10 = IDENT_7 . METHOD_5 ( STRING_3 ) ; } else if ( IDENT_9 != ( - 1 ) ) { IDENT_10 = IDENT_9 ; } java . lang . String IDENT_11 = IDENT_7 . substring ( 0 , IDENT_10 ) . replace ( STRING_5 , "" ) . replace ( STRING_6 , "" ) . replace ( STRING_7 , "" ) . replace ( STRING_8 , "" ) . replace ( STRING_9 , "" ) . replace ( STRING_10 , java . io . File . IDENT_12 ) ; java . lang . String path = ( config . METHOD_6 ( ) ) ? ( METHOD_2 ( ) ) + IDENT_7 : ( ( ( ( METHOD_2 ( ) ) + IDENT_11 ) + ( java . io . File . IDENT_12 ) ) + version ) + IDENT_7 ; java . lang . String target = io . github . IDENT_0 . IDENT_1 . IDENT_13 . getInstance ( IDENT_4 ) . METHOD_7 ( path , version ) ; log . trace ( STRING_11 , url , version , target ) ; return new java . io . File ( target ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . equalTo ( IDENT_6 ) )