METHOD_0 ( ) { final ch . cyberduck . core . IDENT_0 host = new ch . cyberduck . core . METHOD_1 ( new ch . cyberduck . core . IDENT_1 . METHOD_2 ( ) , STRING_0 , new ch . cyberduck . core . METHOD_3 ( ch . cyberduck . core . IDENT_2 . IDENT_3 . get ( ) . getProperty ( STRING_1 ) , null ) ) ; host . METHOD_4 ( IDENT_4 . IDENT_5 ) ; final java . util . concurrent . atomic . IDENT_6 count = new java . util . concurrent . atomic . METHOD_5 ( ) ; final ch . cyberduck . core . IDENT_1 . IDENT_7 session = new ch . cyberduck . core . IDENT_1 . METHOD_6 ( host ) ; session . METHOD_7 ( IDENT_8 . IDENT_9 , new ch . cyberduck . core . METHOD_8 ( ) , new ch . cyberduck . core . METHOD_9 ( ) ) ; session . METHOD_10 ( ) . METHOD_11 ( INT_0 ) ; session . METHOD_10 ( ) . METHOD_12 ( INT_0 ) ; session . METHOD_13 ( IDENT_8 . IDENT_9 , new ch . cyberduck . core . METHOD_9 ( ) , new ch . cyberduck . core . METHOD_14 ( ) ) ; final ch . cyberduck . core . Path file = new ch . cyberduck . core . Path ( STRING_2 , java . util . IDENT_10 . of ( Path . Type . file ) ) ; final ch . cyberduck . core . IDENT_11 . IDENT_12 status = new ch . cyberduck . core . IDENT_11 . METHOD_15 ( ) ; final ch . cyberduck . core . IDENT_1 . IDENT_13 < java . io . InputStream > action = new ch . cyberduck . core . IDENT_1 . IDENT_13 < java . io . InputStream > ( ) { @ ch . cyberduck . core . IDENT_1 . Override public java . io . InputStream execute ( ) throws ch . cyberduck . core . exception . IDENT_14 { try { final java . io . InputStream in = session . METHOD_10 ( ) . METHOD_16 ( file . METHOD_17 ( ) ) ; if ( ( count . get ( ) ) == 0 ) { throw new ch . cyberduck . core . IDENT_1 . METHOD_18 ( ) . map ( new java . net . METHOD_19 ( ) ) ; } return in ; } catch ( java . io . IOException e ) { throw new ch . cyberduck . core . IDENT_1 . METHOD_18 ( ) . map ( e ) ; } } } ; final ch . cyberduck . core . IDENT_1 . IDENT_15 f = new ch . cyberduck . core . IDENT_1 . METHOD_20 ( session , true ) { @ ch . cyberduck . core . IDENT_1 . Override MOD_0 < T > T METHOD_21 ( final ch . cyberduck . core . IDENT_1 . IDENT_13 < T > action ) throws ch . cyberduck . core . exception . IDENT_14 { count . METHOD_22 ( ) ; return super . METHOD_21 ( action ) ; } } ; f . data ( action , new ch . cyberduck . core . METHOD_23 ( ) ) ; "<AssertPlaceHolder>" ; } get ( ) { try { final ch . cyberduck . core . Path IDENT_16 = new ch . cyberduck . core . shared . METHOD_24 ( session ) . find ( ) ; if ( ! ( IDENT_16 . METHOD_25 ( ) ) ) { final ch . cyberduck . core . IDENT_17 . io . IDENT_18 . client . model . Node node = new ch . cyberduck . core . IDENT_17 . io . IDENT_18 . client . api . METHOD_26 ( session . METHOD_10 ( ) ) . METHOD_27 ( java . lang . Long . METHOD_28 ( IDENT_19 . METHOD_29 ( IDENT_16 , new ch . cyberduck . core . METHOD_30 ( ) ) ) , org . apache . commons . lang3 . StringUtils . IDENT_20 , null ) ; if ( null == ( node . METHOD_31 ( ) ) ) { ch . cyberduck . core . IDENT_17 . IDENT_21 . log . warn ( java . lang . String . format ( STRING_3 , IDENT_16 ) ) ; } else { return new ch . cyberduck . core . IDENT_17 . METHOD_32 ( node . METHOD_33 ( ) , ( ( node . METHOD_31 ( ) ) - ( node . METHOD_33 ( ) ) ) ) ; } } final ch . cyberduck . core . IDENT_17 . io . IDENT_18 . client . model . IDENT_22 info = new ch . cyberduck . core . IDENT_17 . io . IDENT_18 . client . api . METHOD_34 ( session . METHOD_10 ( ) ) . METHOD_35 ( org . apache . commons . lang3 . StringUtils . IDENT_20 , null ) ; return new ch . cyberduck . core . IDENT_17 . METHOD_32 ( info . METHOD_36 ( ) , ( ( info . METHOD_37 ( ) ) - ( info . METHOD_36 ( ) ) ) ) ; } catch ( ch . cyberduck . core . IDENT_17 . io . IDENT_18 . client . IDENT_23 e ) { throw new ch . cyberduck . core . IDENT_17 . METHOD_38 ( ) . map ( STRING_4 , e , new ch . cyberduck . core . Path ( java . lang . String . valueOf ( Path . IDENT_24 ) , java . util . IDENT_10 . of ( Path . Type . IDENT_25 , Path . Type . directory ) ) ) ; } }
org . junit . Assert . assertEquals ( 1 , count . get ( ) )