METHOD_0 ( ) { class IDENT_0 extends org . apache . jackrabbit . oak . plugins . IDENT_1 . IDENT_2 { MOD_0 final java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_1 ( true ) ; MOD_0 final com . google . common . util . concurrent . IDENT_5 IDENT_6 = new com . google . common . util . concurrent . METHOD_2 ( ) ; MOD_0 boolean IDENT_7 = false ; public boolean METHOD_3 ( int time , java . util . concurrent . TimeUnit unit ) throws org . apache . jackrabbit . oak . IDENT_8 . file . IDENT_9 { IDENT_6 . METHOD_4 ( ) ; try { return IDENT_6 . METHOD_5 ( new com . google . common . util . concurrent . METHOD_2 . METHOD_6 ( IDENT_6 ) { @ org . apache . jackrabbit . oak . IDENT_8 . file . Override public boolean METHOD_7 ( ) { return IDENT_7 ; } } , time , unit ) ; } finally { IDENT_6 . METHOD_8 ( ) ; } } public void METHOD_9 ( ) { IDENT_4 . set ( false ) ; } @ org . IDENT_10 . IDENT_11 . IDENT_12 @ org . apache . jackrabbit . oak . IDENT_8 . file . Override public java . io . InputStream METHOD_10 ( ) { return new java . io . InputStream ( ) { @ org . apache . jackrabbit . oak . IDENT_8 . file . Override public int read ( ) throws java . io . IOException { return METHOD_11 ( ) ; } @ org . apache . jackrabbit . oak . IDENT_8 . file . Override public int read ( @ org . IDENT_10 . IDENT_11 . IDENT_12 byte [ ] b , int IDENT_13 , int len ) throws java . io . IOException { return METHOD_11 ( ) ; } MOD_0 int METHOD_11 ( ) { if ( IDENT_4 . get ( ) ) { if ( ! ( IDENT_7 ) ) { IDENT_6 . METHOD_4 ( ) ; try { IDENT_7 = true ; } finally { IDENT_6 . METHOD_8 ( ) ; } } return 0 ; } else { return - 1 ; } } } ; } @ org . apache . jackrabbit . oak . IDENT_8 . file . Override public long length ( ) { return 1 ; } } java . util . concurrent . IDENT_14 IDENT_15 = METHOD_12 ( ) ; java . util . concurrent . IDENT_14 IDENT_16 = METHOD_12 ( ) ; try ( org . apache . jackrabbit . oak . IDENT_8 . file . IDENT_17 store = org . apache . jackrabbit . oak . IDENT_8 . file . IDENT_18 . METHOD_13 ( METHOD_14 ( ) ) . build ( ) ) { IDENT_0 METHOD_0 = new METHOD_15 ( ) ; IDENT_15 . METHOD_16 ( ( ) -> { org . apache . jackrabbit . oak . IDENT_8 . IDENT_19 root = store . METHOD_17 ( ) ; org . apache . jackrabbit . oak . IDENT_8 . IDENT_20 builder = root . builder ( ) ; builder . setProperty ( STRING_0 , METHOD_0 ) ; store . METHOD_18 ( ) . METHOD_19 ( root . METHOD_20 ( ) , builder . METHOD_21 ( ) . METHOD_20 ( ) ) ; } ) ; "<AssertPlaceHolder>" ; java . util . concurrent . IDENT_21 < java . lang . IDENT_22 > IDENT_23 = IDENT_16 . METHOD_16 ( ( ) -> { store . METHOD_22 ( ) ; return null ; } ) ; try { IDENT_23 . get ( 10 , org . apache . jackrabbit . oak . IDENT_8 . file . IDENT_24 ) ; } catch ( java . util . concurrent . IDENT_25 e ) { org . junit . Assert . fail ( STRING_1 ) ; } finally { METHOD_0 . METHOD_9 ( ) ; } } finally { IDENT_16 . METHOD_23 ( ) ; IDENT_15 . METHOD_23 ( ) ; } } METHOD_3 ( int , java . util . concurrent . TimeUnit ) { IDENT_6 . METHOD_4 ( ) ; try { return IDENT_6 . METHOD_5 ( new com . google . common . util . concurrent . METHOD_2 . METHOD_6 ( IDENT_6 ) { @ org . apache . jackrabbit . oak . plugins . document . Override public boolean METHOD_7 ( ) { return IDENT_7 ; } } , time , unit ) ; } finally { IDENT_6 . METHOD_8 ( ) ; } }
org . junit . Assert . assertTrue ( METHOD_0 . METHOD_3 ( 1 , org . apache . jackrabbit . oak . IDENT_8 . file . IDENT_24 ) )