METHOD_0 ( ) { final java . lang . ref . IDENT_0 < java . lang . Object > queue = new java . lang . ref . METHOD_1 ( ) ; java . lang . Thread . METHOD_2 ( ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } remove ( org . apache . IDENT_1 . storage . IDENT_2 ) { if ( resource instanceof org . apache . IDENT_1 . storage . IDENT_3 ) try { if ( resource instanceof org . apache . IDENT_1 . internal . storage . IDENT_4 . IDENT_5 ) { final java . nio . file . Path path = ( ( org . apache . IDENT_1 . internal . storage . IDENT_4 . IDENT_5 ) ( resource ) ) . location ; if ( java . nio . file . IDENT_6 . METHOD_4 ( path . METHOD_5 ( ) , location ) ) { ( ( org . apache . IDENT_1 . internal . storage . IDENT_4 . IDENT_5 ) ( resource ) ) . close ( ) ; org . apache . IDENT_1 . internal . storage . IDENT_4 . IDENT_7 . METHOD_6 ( path , true ) ; IDENT_8 . remove ( path ) ; return ; } } else if ( resource instanceof org . apache . IDENT_1 . internal . storage . IDENT_9 ) { final java . nio . file . Path [ ] IDENT_10 = ( ( org . apache . IDENT_1 . internal . storage . IDENT_9 ) ( resource ) ) . METHOD_7 ( ) . METHOD_8 ( ) ; for ( java . nio . file . Path root : IDENT_10 ) { root = root . METHOD_5 ( ) ; if ( java . nio . file . IDENT_6 . METHOD_4 ( root , location ) ) { for ( final java . nio . file . Path path : IDENT_10 ) { if ( path . startsWith ( root ) ) { java . nio . file . IDENT_6 . delete ( path ) ; } } IDENT_8 . values ( ) . METHOD_9 ( ( e ) -> e == resource ) ; components = null ; return ; } } } } catch ( java . io . IOException e ) { throw new org . apache . IDENT_1 . storage . METHOD_10 ( messages ( ) . getString ( IDENT_11 . IDENT_12 . IDENT_13 , METHOD_11 ( ) , ( ( org . apache . IDENT_1 . storage . IDENT_3 ) ( resource ) ) . METHOD_11 ( ) ) , e ) ; } throw new org . apache . IDENT_1 . storage . METHOD_10 ( messages ( ) . getString ( IDENT_11 . IDENT_12 . IDENT_14 , METHOD_11 ( ) , org . apache . IDENT_1 . internal . storage . IDENT_15 . METHOD_12 ( resource ) ) ) ; }
org . junit . Assert . assertNull ( queue . remove ( 1000 ) )