METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > props = new java . util . HashMap ( IDENT_0 ) ; java . io . File IDENT_1 = java . io . File . METHOD_1 ( STRING_0 , STRING_1 ) ; try ( java . io . IDENT_2 writer = new java . io . METHOD_2 ( IDENT_1 ) ) { writer . append ( STRING_2 ) ; } org . apache . hadoop . fs . Path IDENT_3 = new org . apache . hadoop . fs . Path ( com . github . IDENT_4 . kafka . connect . fs . task . IDENT_5 . IDENT_6 . get ( 0 ) . toString ( ) , ( ( java . lang . System . METHOD_3 ( ) ) + STRING_1 ) ) ; com . github . IDENT_4 . kafka . connect . fs . task . IDENT_5 . fs . METHOD_4 ( new org . apache . hadoop . fs . Path ( IDENT_1 . getAbsolutePath ( ) ) , IDENT_3 ) ; props . put ( IDENT_7 . IDENT_8 , com . github . IDENT_4 . kafka . connect . fs . file . reader . IDENT_9 . class . getName ( ) ) ; task . start ( props ) ; "<AssertPlaceHolder>" ; task . METHOD_5 ( ) ; com . github . IDENT_4 . kafka . connect . fs . task . IDENT_5 . fs . delete ( IDENT_3 , false ) ; } METHOD_6 ( ) { while ( ( ( ( METHOD_5 ) != null ) && ( ! ( METHOD_5 . get ( ) ) ) ) && ( ! ( policy . METHOD_7 ( ) ) ) ) { com . github . IDENT_4 . kafka . connect . fs . IDENT_10 . log . trace ( STRING_3 ) ; final com . github . IDENT_4 . kafka . connect . fs . List < org . apache . kafka . connect . source . IDENT_11 > results = new com . github . IDENT_4 . kafka . connect . fs . ArrayList ( ) ; com . github . IDENT_4 . kafka . connect . fs . List < com . github . IDENT_4 . kafka . connect . fs . file . IDENT_12 > IDENT_13 = METHOD_8 ( ) ; IDENT_13 . METHOD_9 ( ( metadata ) -> { try ( com . github . IDENT_4 . kafka . connect . fs . file . reader . IDENT_14 reader = policy . METHOD_10 ( metadata , com . github . IDENT_4 . kafka . connect . fs . context . METHOD_11 ( ) ) ) { com . github . IDENT_4 . kafka . connect . fs . IDENT_10 . log . info ( STRING_4 , metadata ) ; while ( reader . hasNext ( ) ) { results . add ( convert ( metadata , reader . METHOD_12 ( ) , reader . next ( ) ) ) ; } } catch ( org . apache . kafka . connect . errors . IDENT_15 | java . io . IOException e ) { com . github . IDENT_4 . kafka . connect . fs . IDENT_10 . log . error ( ( ( STRING_5 + ( metadata . getPath ( ) ) ) + STRING_6 ) , com . github . IDENT_4 . kafka . connect . fs . e ) ; } } ) ; return results ; } return null ; }
org . junit . Assert . assertEquals ( 0 , task . METHOD_6 ( ) . size ( ) )