METHOD_0 ( ) { de . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_3 IDENT_2 = METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( ) . METHOD_3 ( ) . get ( 0 ) . METHOD_4 ( ) . METHOD_5 ( getClass ( ) . getResource ( STRING_0 ) . METHOD_6 ( ) . METHOD_7 ( ) . toString ( ) ) ; java . nio . file . Path IDENT_4 = null ; try { IDENT_4 = java . nio . file . IDENT_5 . METHOD_8 ( STRING_1 ) ; } catch ( java . io . IOException ex ) { org . junit . Assert . fail ( ex . toString ( ) ) ; } java . nio . file . Path IDENT_6 = null ; try { IDENT_6 = manager . METHOD_9 ( IDENT_2 , IDENT_4 ) ; "<AssertPlaceHolder>" ; System . out . println ( ( STRING_2 + IDENT_6 ) ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( ( STRING_3 + ( e . toString ( ) ) ) ) ; } finally { try { java . nio . file . IDENT_5 . METHOD_10 ( IDENT_6 ) ; } catch ( java . lang . Exception exception ) { } try { java . nio . file . IDENT_5 . METHOD_10 ( IDENT_4 ) ; } catch ( java . io . IOException IDENT_7 ) { } } } METHOD_9 ( de . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_3 , java . nio . file . Path ) { java . nio . file . Path IDENT_6 = null ; de . IDENT_0 . IDENT_1 . IDENT_2 . entity . IDENT_8 IDENT_9 = IDENT_2 . METHOD_11 ( ) ; if ( IDENT_9 != null ) { java . lang . String url = IDENT_9 . METHOD_12 ( ) ; if ( ( url != null ) && ( ! ( url . isEmpty ( ) ) ) ) { java . net . URL IDENT_10 = new java . net . URL ( url ) ; java . lang . String IDENT_11 = url . substring ( ( ( url . METHOD_13 ( STRING_4 ) ) + 1 ) , url . length ( ) ) ; long length = IDENT_9 . METHOD_14 ( ) ; java . io . File IDENT_12 = null ; java . nio . IDENT_13 . IDENT_14 IDENT_15 = null ; java . io . IDENT_16 IDENT_17 = null ; try { IDENT_12 = java . io . File . METHOD_15 ( STRING_1 , STRING_5 ) ; IDENT_15 = java . nio . IDENT_13 . IDENT_18 . METHOD_16 ( IDENT_10 . METHOD_17 ( ) ) ; IDENT_17 = new java . io . METHOD_18 ( IDENT_12 ) ; IDENT_17 . METHOD_2 ( ) . METHOD_19 ( IDENT_15 , 0 , Long . MAX_VALUE ) ; if ( length > 0 ) { long size = java . nio . file . IDENT_5 . size ( IDENT_12 . METHOD_20 ( ) ) ; if ( length != size ) { throw new java . lang . Exception ( ( ( ( STRING_6 + length ) + STRING_7 ) + size ) ) ; } } java . lang . String IDENT_19 = IDENT_9 . METHOD_21 ( ) ; if ( IDENT_19 != null ) { java . security . IDENT_20 IDENT_21 = java . security . IDENT_20 . getInstance ( STRING_8 ) ; IDENT_21 . METHOD_22 ( ) ; byte [ ] bytes = new byte [ INT_0 ] ; int IDENT_22 ; try ( java . io . IDENT_23 is = new java . io . METHOD_23 ( IDENT_12 ) ) { while ( ( IDENT_22 = is . read ( bytes ) ) != ( - 1 ) ) { IDENT_21 . update ( bytes , 0 , IDENT_22 ) ; } } java . lang . String hash = de . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_24 . IDENT_25 . METHOD_24 ( IDENT_21 . METHOD_25 ( ) ) ; if ( ! ( IDENT_19 . equalsIgnoreCase ( hash ) ) ) { throw new java . lang . Exception ( ( ( ( STRING_9 + IDENT_19 ) + STRING_7 ) + hash ) ) ; } } IDENT_6 = java . nio . file . IDENT_5 . METHOD_26 ( IDENT_12 . METHOD_20 ( ) , IDENT_26 . resolve ( IDENT_11 ) , IDENT_27 . IDENT_28 ) ; } finally { try { if ( IDENT_17 != null ) IDENT_17 . close ( ) ; } catch ( java . io . IOException e ) { } if ( IDENT_12 != null ) { java . nio . file . IDENT_5 . METHOD_10 ( IDENT_12 . METHOD_20 ( ) ) ; } } } } return IDENT_6 ; }
org . junit . Assert . assertNotNull ( IDENT_6 )