METHOD_0 ( ) { com . orientechnologies . orient . core . storage . impl . IDENT_0 . IDENT_1 . List < java . util . concurrent . IDENT_2 < java . lang . IDENT_3 > > IDENT_4 = new com . orientechnologies . orient . core . storage . impl . IDENT_0 . IDENT_1 . ArrayList < java . util . concurrent . IDENT_2 < java . lang . IDENT_3 > > ( ) ; IDENT_5 . METHOD_1 ( new com . orientechnologies . orient . core . IDENT_6 . METHOD_2 ( ) ) ; for ( int i = 0 ; i < 8 ; i ++ ) IDENT_4 . add ( IDENT_7 . METHOD_3 ( new com . orientechnologies . orient . core . storage . impl . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_4 ( ) ) ) ; for ( java . util . concurrent . IDENT_2 < java . lang . IDENT_3 > future : IDENT_4 ) future . get ( ) ; java . lang . Thread . sleep ( INT_0 ) ; METHOD_5 ( ) ; com . orientechnologies . orient . core . storage . IDENT_9 storage = IDENT_5 . METHOD_6 ( ) ; IDENT_5 . close ( ) ; storage . close ( ) ; IDENT_10 = new com . orientechnologies . orient . core . db . document . METHOD_7 ( ( ( STRING_0 + ( IDENT_11 . getAbsolutePath ( ) ) ) + STRING_1 ) ) ; IDENT_10 . METHOD_8 ( STRING_2 , STRING_2 ) ; IDENT_10 . close ( ) ; com . orientechnologies . orient . core . db . IDENT_12 . IDENT_13 IDENT_14 = new com . orientechnologies . orient . core . db . IDENT_12 . METHOD_9 ( IDENT_10 . METHOD_10 ( ) , IDENT_5 . METHOD_10 ( ) , STRING_2 , STRING_2 , new com . orientechnologies . orient . core . command . METHOD_11 ( ) { @ com . orientechnologies . orient . core . storage . impl . IDENT_0 . IDENT_1 . Override public void METHOD_12 ( java . lang . String text ) { System . out . println ( text ) ; } } ) ; IDENT_14 . METHOD_13 ( true ) ; "<AssertPlaceHolder>" ; } compare ( ) { try { com . orientechnologies . orient . core . record . impl . IDENT_15 . IDENT_16 IDENT_17 = null ; if ( IDENT_18 ) { listener . METHOD_12 ( STRING_3 ) ; IDENT_19 = ( ( com . orientechnologies . orient . core . index . IDENT_20 < com . orientechnologies . orient . core . db . record . IDENT_21 > ) ( IDENT_22 . METHOD_14 ( ) . METHOD_15 ( ) . METHOD_16 ( IDENT_23 . IDENT_24 ) ) ) ; if ( ( IDENT_19 ) != null ) { listener . METHOD_12 ( STRING_4 ) ; IDENT_17 = new com . orientechnologies . orient . core . record . impl . IDENT_15 . METHOD_17 ( ) { @ com . orientechnologies . orient . core . db . IDENT_12 . Override public com . orientechnologies . orient . core . id . IDENT_25 map ( com . orientechnologies . orient . core . id . IDENT_25 IDENT_26 ) { if ( IDENT_26 == null ) return null ; if ( ! ( IDENT_26 . METHOD_18 ( ) ) ) return null ; IDENT_22 . METHOD_19 ( ) ; final com . orientechnologies . orient . core . db . record . IDENT_21 result = IDENT_19 . get ( IDENT_26 ) ; if ( result == null ) return null ; return result . METHOD_20 ( ) ; } } ; } else listener . METHOD_12 ( STRING_5 ) ; } METHOD_21 ( ) ; METHOD_22 ( IDENT_17 ) ; METHOD_23 ( ) ; METHOD_24 ( IDENT_17 ) ; if ( ( IDENT_27 ) == 0 ) { listener . METHOD_12 ( STRING_6 ) ; return true ; } else { listener . METHOD_12 ( ( ( STRING_7 + ( IDENT_27 ) ) + STRING_8 ) ) ; return false ; } } catch ( java . lang . Exception e ) { com . orientechnologies . common . log . IDENT_28 . instance ( ) . error ( this , STRING_9 , e , IDENT_29 . getName ( ) , IDENT_22 . getName ( ) ) ; throw new com . orientechnologies . orient . core . db . IDENT_12 . METHOD_25 ( ( ( ( ( STRING_10 + ( IDENT_29 . getName ( ) ) ) + STRING_11 ) + ( IDENT_22 . getName ( ) ) ) + STRING_12 ) , e ) ; } finally { METHOD_26 ( IDENT_29 , new com . orientechnologies . orient . core . record . impl . IDENT_15 . IDENT_30 < java . lang . IDENT_3 > ( ) { @ com . orientechnologies . orient . core . db . IDENT_12 . Override public com . orientechnologies . orient . core . db . IDENT_12 . IDENT_3 call ( com . orientechnologies . orient . core . db . IDENT_31 database ) { database . close ( ) ; return null ; } } ) ; METHOD_26 ( IDENT_22 , new com . orientechnologies . orient . core . record . impl . IDENT_15 . IDENT_30 < java . lang . IDENT_3 > ( ) { @ com . orientechnologies . orient . core . db . IDENT_12 . Override public com . orientechnologies . orient . core . db . IDENT_12 . IDENT_3 call ( com . orientechnologies . orient . core . db . IDENT_31 database ) { database . close ( ) ; return null ; } } ) ; } }
org . junit . Assert . assertTrue ( IDENT_14 . compare ( ) )