METHOD_0 ( ) { java . io . File IDENT_0 = new java . io . File ( org . apache . IDENT_1 . transaction . internal . IDENT_2 . IDENT_3 , STRING_0 ) ; org . apache . commons . io . IDENT_4 . METHOD_1 ( IDENT_0 ) ; IDENT_0 . METHOD_2 ( ) ; java . util . IDENT_5 < java . lang . String , java . lang . Object > properties = new java . util . IDENT_6 < java . lang . String , java . lang . Object > ( ) ; METHOD_3 ( STRING_0 , STRING_1 , 2 , ( - 1 ) , 1 , properties ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . util . IDENT_5 , java . util . IDENT_5 ) { if ( IDENT_7 == null ) { IDENT_7 = new java . util . IDENT_6 < java . lang . String , java . lang . Object > ( ) ; } if ( ( IDENT_7 . get ( org . apache . IDENT_1 . transaction . internal . IDENT_8 ) ) == null ) { IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_8 , IDENT_9 . get ( org . apache . IDENT_1 . transaction . internal . IDENT_8 ) ) ; } java . lang . String IDENT_10 = ( ( java . lang . String ) ( IDENT_7 . get ( org . apache . IDENT_1 . transaction . internal . IDENT_8 ) ) ) ; java . lang . String IDENT_11 = ( ( java . lang . String ) ( IDENT_9 . get ( org . apache . IDENT_1 . transaction . internal . IDENT_8 ) ) ) ; if ( ( IDENT_11 == null ) || ( IDENT_10 == null ) ) { return false ; } java . io . File IDENT_12 = new java . io . File ( IDENT_10 ) ; IDENT_10 = IDENT_12 . getAbsolutePath ( ) ; java . io . File IDENT_13 = new java . io . File ( IDENT_11 ) ; IDENT_11 = IDENT_13 . getAbsolutePath ( ) ; java . io . File IDENT_14 = null ; if ( ! ( IDENT_12 . equals ( IDENT_13 ) ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_1 ( IDENT_13 ) ; IDENT_14 = new java . io . File ( IDENT_12 , org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_5 ( IDENT_7 , 1 ) ) ; } else { IDENT_14 = new java . io . File ( IDENT_12 , org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_5 ( IDENT_7 , 1 ) ) ; if ( ( ! ( IDENT_14 . exists ( ) ) ) || ( ( IDENT_14 . length ( ) ) == 0L ) ) { IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_16 , getString ( IDENT_9 , org . apache . IDENT_1 . transaction . internal . IDENT_16 , STRING_1 ) ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_17 , getString ( IDENT_9 , org . apache . IDENT_1 . transaction . internal . IDENT_17 , STRING_2 ) ) ; IDENT_14 = new java . io . File ( IDENT_12 , org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_5 ( IDENT_9 , 1 ) ) ; } } if ( ( ! ( IDENT_14 . exists ( ) ) ) || ( ( IDENT_14 . length ( ) ) == 0L ) ) { return false ; } org . apache . IDENT_1 . transaction . internal . IDENT_15 . IDENT_18 IDENT_19 = org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_6 ( IDENT_14 ) ; org . apache . IDENT_1 . transaction . internal . IDENT_15 . IDENT_18 IDENT_20 = org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_6 ( IDENT_9 ) ; if ( ( IDENT_19 == null ) || ( IDENT_19 . equals ( IDENT_20 ) ) ) { if ( ! ( IDENT_12 . equals ( IDENT_13 ) ) ) { if ( ! ( IDENT_12 . METHOD_7 ( IDENT_13 ) ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . warn ( STRING_3 , IDENT_12 . getAbsolutePath ( ) ) ; return false ; } } java . lang . String IDENT_21 = org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_5 ( IDENT_7 , 1 ) ; java . lang . String IDENT_22 = org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_5 ( IDENT_9 , 1 ) ; if ( ! ( IDENT_21 . equals ( IDENT_22 ) ) ) { final java . util . IDENT_5 < java . lang . String , java . lang . Object > IDENT_23 = IDENT_7 ; final java . util . IDENT_5 < java . lang . String , ? > IDENT_24 = IDENT_9 ; final java . util . Map < java . lang . String , java . lang . String > IDENT_25 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; IDENT_13 . METHOD_8 ( new java . io . METHOD_9 ( ) { @ org . apache . IDENT_1 . transaction . internal . Override public boolean accept ( java . io . File IDENT_26 , java . lang . String name ) { java . util . regex . IDENT_27 matcher = org . apache . IDENT_1 . transaction . internal . IDENT_15 . IDENT_28 . matcher ( name ) ; if ( matcher . matches ( ) ) { if ( ( matcher . group ( 1 ) . equals ( getString ( IDENT_23 , org . apache . IDENT_1 . transaction . internal . IDENT_16 , STRING_1 ) ) ) && ( matcher . group ( 3 ) . equals ( getString ( IDENT_23 , org . apache . IDENT_1 . transaction . internal . IDENT_17 , STRING_2 ) ) ) ) { IDENT_25 . put ( name , java . lang . String . format ( STRING_4 , getString ( IDENT_24 , org . apache . IDENT_1 . transaction . internal . IDENT_16 , STRING_1 ) , java . lang . Integer . METHOD_10 ( matcher . group ( 2 ) ) , getString ( IDENT_24 , org . apache . IDENT_1 . transaction . internal . IDENT_17 , STRING_2 ) ) ) ; } } return false ; } } ) ; for ( java . lang . String IDENT_29 : IDENT_25 . METHOD_11 ( ) ) { new java . io . File ( IDENT_13 , IDENT_29 ) . METHOD_7 ( new java . io . File ( IDENT_13 , IDENT_25 . get ( IDENT_29 ) ) ) ; } return true ; } return false ; } java . io . File IDENT_30 = null ; if ( IDENT_12 . equals ( IDENT_13 ) ) { IDENT_30 = new java . io . File ( ( IDENT_11 + ( java . lang . String . format ( STRING_5 , java . lang . System . currentTimeMillis ( ) ) ) ) ) ; if ( ! ( IDENT_12 . METHOD_7 ( IDENT_30 ) ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . warn ( STRING_3 , IDENT_12 . getAbsolutePath ( ) ) ; return false ; } IDENT_7 = org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_12 ( IDENT_7 ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_8 , IDENT_30 . getAbsolutePath ( ) ) ; } org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_6 , IDENT_12 . getAbsolutePath ( ) , IDENT_13 . getAbsolutePath ( ) ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_31 , IDENT_9 . get ( org . apache . IDENT_1 . transaction . internal . IDENT_31 ) ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_32 , java . lang . Integer . toString ( IDENT_19 . IDENT_33 ) ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_34 , java . lang . Integer . toString ( IDENT_19 . IDENT_35 ) ) ; IDENT_7 . put ( org . apache . IDENT_1 . transaction . internal . IDENT_36 , java . lang . Integer . toString ( IDENT_19 . IDENT_37 ) ) ; java . lang . String IDENT_38 = org . apache . IDENT_1 . transaction . internal . IDENT_39 . IDENT_39 . getString ( IDENT_7 , org . apache . IDENT_1 . transaction . internal . IDENT_40 , IDENT_41 . IDENT_42 ) ; org . apache . IDENT_43 . transaction . manager . IDENT_44 IDENT_45 = new org . apache . IDENT_1 . transaction . internal . METHOD_13 ( IDENT_38 . substring ( 0 , java . lang . Math . min ( IDENT_38 . length ( ) , INT_0 ) ) . getBytes ( ) ) ; java . lang . String IDENT_46 = org . apache . IDENT_1 . transaction . internal . IDENT_39 . IDENT_39 . getString ( IDENT_9 , org . apache . IDENT_1 . transaction . internal . IDENT_40 , IDENT_41 . IDENT_42 ) ; org . apache . IDENT_43 . transaction . manager . IDENT_44 IDENT_47 = new org . apache . IDENT_1 . transaction . internal . METHOD_13 ( IDENT_46 . substring ( 0 , java . lang . Math . min ( IDENT_46 . length ( ) , INT_0 ) ) . getBytes ( ) ) ; org . apache . IDENT_43 . transaction . manager . IDENT_48 IDENT_49 = null ; org . apache . IDENT_43 . transaction . manager . IDENT_48 IDENT_50 = null ; try { IDENT_49 = org . apache . IDENT_1 . transaction . internal . IDENT_39 . IDENT_39 . METHOD_14 ( IDENT_7 , IDENT_45 ) ; IDENT_50 = org . apache . IDENT_1 . transaction . internal . IDENT_39 . IDENT_39 . METHOD_14 ( IDENT_9 , IDENT_47 ) ; if ( ! ( IDENT_49 instanceof org . apache . IDENT_43 . transaction . log . IDENT_51 ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_7 , IDENT_10 ) ; return false ; } if ( ! ( IDENT_50 instanceof org . apache . IDENT_43 . transaction . log . IDENT_51 ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_7 , IDENT_11 ) ; return false ; } org . apache . IDENT_43 . transaction . log . IDENT_51 from = ( ( org . apache . IDENT_43 . transaction . log . IDENT_51 ) ( IDENT_49 ) ) ; org . apache . IDENT_43 . transaction . log . IDENT_51 to = ( ( org . apache . IDENT_43 . transaction . log . IDENT_51 ) ( IDENT_50 ) ) ; java . util . Collection < org . apache . IDENT_43 . transaction . manager . IDENT_52 . IDENT_53 > IDENT_54 = from . METHOD_15 ( IDENT_45 ) ; for ( org . apache . IDENT_43 . transaction . manager . IDENT_52 . IDENT_53 IDENT_55 : IDENT_54 ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_8 , IDENT_55 . METHOD_16 ( ) ) ; for ( org . apache . IDENT_43 . transaction . manager . IDENT_56 IDENT_57 : IDENT_55 . METHOD_17 ( ) ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_9 1 , IDENT_57 . METHOD_18 ( ) , IDENT_57 . METHOD_19 ( ) ) ; } to . METHOD_20 ( IDENT_55 . METHOD_16 ( ) , new java . util . ArrayList < org . apache . IDENT_43 . transaction . manager . IDENT_56 > ( IDENT_55 . METHOD_17 ( ) ) ) ; } org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . info ( STRING_9 ) ; org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_1 ( IDENT_30 ) ; return ! ( IDENT_54 . isEmpty ( ) ) ; } catch ( java . lang . Exception e ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . error ( STRING_10 , e ) ; if ( IDENT_30 != null ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_1 ( IDENT_13 ) ; IDENT_30 . METHOD_7 ( IDENT_12 ) ; } return false ; } finally { try { if ( IDENT_49 instanceof org . apache . IDENT_43 . transaction . log . IDENT_51 ) { ( ( org . apache . IDENT_43 . transaction . log . IDENT_51 ) ( IDENT_49 ) ) . METHOD_21 ( ) ; } if ( IDENT_50 instanceof org . apache . IDENT_43 . transaction . log . IDENT_51 ) { ( ( org . apache . IDENT_43 . transaction . log . IDENT_51 ) ( IDENT_50 ) ) . METHOD_21 ( ) ; } } catch ( java . lang . Exception e ) { org . apache . IDENT_1 . transaction . internal . IDENT_15 . log . error ( e . getMessage ( ) , e ) ; } } }
org . junit . Assert . assertFalse ( org . apache . IDENT_1 . transaction . internal . IDENT_15 . METHOD_4 ( null , properties ) )