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