METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 config = new com . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; config . METHOD_2 ( 5 ) ; config . METHOD_3 ( com . IDENT_0 . IDENT_1 . datastore . IDENT_3 . IDENT_4 . getAbsolutePath ( ) ) ; config . METHOD_4 ( 100 ) ; com . IDENT_0 . IDENT_1 . datastore . IDENT_5 < byte [ ] > IDENT_6 = new com . IDENT_0 . IDENT_1 . datastore . IDENT_7 < byte [ ] > ( config ) ; IDENT_6 . init ( ) ; com . IDENT_0 . IDENT_1 . datastore . IDENT_8 block = com . IDENT_0 . IDENT_1 . datastore . IDENT_8 . METHOD_5 ( INT_0 , com . IDENT_0 . IDENT_1 . datastore . IDENT_8 . METHOD_6 ( 5 ) ) ; block . METHOD_7 ( new byte [ ] { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , INT_1 , 12 , INT_2 , INT_3 , 15 , 16 , INT_4 , INT_5 , INT_6 , 20 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , INT_1 , 12 , INT_2 , INT_3 , 15 , 16 , INT_4 , INT_5 , INT_6 , 20 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , INT_1 , 12 , INT_2 , INT_3 , 15 , 16 , INT_4 , INT_5 , INT_6 , 20 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , INT_1 , 12 , INT_2 , INT_3 , 15 , 16 , INT_4 , INT_5 , INT_6 , 20 } ) ; byte [ ] content = block . array ( ) ; byte [ ] IDENT_9 = new byte [ ( content . length ) - INT_7 ] ; java . lang . System . METHOD_8 ( content , 0 , IDENT_9 , 0 , ( ( content . length ) - INT_7 ) ) ; java . util . Collection < java . io . File > IDENT_10 = ( ( java . util . Collection < java . io . File > ) ( org . apache . commons . io . IDENT_11 . METHOD_9 ( com . IDENT_0 . IDENT_1 . datastore . IDENT_3 . IDENT_4 , new java . lang . String [ ] { STRING_0 } , true ) ) ) ; if ( ( METHOD_9 . isEmpty ( ) ) || ( ( METHOD_9 . size ( ) ) != 1 ) ) { org . junit . Assert . fail ( ) ; } else { java . io . IDENT_12 file = new java . io . METHOD_10 ( METHOD_9 . iterator ( ) . next ( ) , STRING_1 ) ; file . write ( IDENT_9 ) ; IDENT_6 = new com . IDENT_0 . IDENT_1 . datastore . IDENT_7 < byte [ ] > ( config ) ; IDENT_6 . init ( ) ; IDENT_6 . put ( new byte [ ] { 1 , 2 , 3 } ) ; byte [ ] read = IDENT_6 . METHOD_11 ( ) ; "<AssertPlaceHolder>" ; } } METHOD_11 ( ) { com . IDENT_0 . IDENT_1 . datastore . IDENT_8 IDENT_13 = null ; if ( ( IDENT_14 . METHOD_12 ( ) ) >= 0 ) { if ( ( IDENT_15 ) == null ) { METHOD_13 ( ) ; } IDENT_13 = com . IDENT_0 . IDENT_1 . datastore . IDENT_8 . read ( IDENT_15 , IDENT_16 ) ; if ( ( ( IDENT_13 != null ) && ( org . apache . commons . lang . IDENT_17 . METHOD_14 ( IDENT_13 . array ( ) , IDENT_18 ) ) ) || ( IDENT_13 == null ) ) { if ( ( IDENT_14 . METHOD_12 ( ) ) < ( IDENT_19 . METHOD_12 ( ) ) ) { if ( ( IDENT_15 ) != null ) { IDENT_15 . close ( ) ; IDENT_15 = null ; if ( IDENT_20 ) { try { org . apache . commons . io . IDENT_11 . METHOD_15 ( new java . io . File ( IDENT_4 , METHOD_16 ( IDENT_14 . METHOD_12 ( ) ) ) , IDENT_21 , true ) ; } catch ( java . io . IOException e ) { com . IDENT_0 . IDENT_1 . datastore . IDENT_7 . log . warn ( STRING_2 , new java . io . File ( IDENT_4 , METHOD_16 ( IDENT_14 . METHOD_12 ( ) ) ) , IDENT_21 ) ; } } else { org . apache . commons . io . IDENT_11 . METHOD_17 ( new java . io . File ( IDENT_4 , METHOD_16 ( IDENT_14 . METHOD_12 ( ) ) ) ) ; } } IDENT_14 . METHOD_18 ( ) ; IDENT_22 . set ( 0L ) ; METHOD_13 ( ) ; return METHOD_11 ( ) ; } } } if ( IDENT_13 == null ) { return null ; } else { IDENT_22 . set ( IDENT_15 . METHOD_19 ( ) ) ; return ( ( IDENT_23 ) ( codec . decode ( IDENT_13 . METHOD_20 ( ) ) ) ) ; } }
org . junit . Assert . assertArrayEquals ( new byte [ ] { 1 , 2 , 3 } , read )