METHOD_0 ( ) { byte [ ] buffer = IDENT_0 . METHOD_1 ( ) ; java . io . ByteArrayInputStream in = new java . io . ByteArrayInputStream ( buffer ) ; com . IDENT_1 . IDENT_2 . avro . IDENT_3 IDENT_4 = com . IDENT_1 . IDENT_2 . avro . IDENT_3 . METHOD_2 ( in ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . InputStream ) { com . IDENT_1 . IDENT_2 . avro . IDENT_3 header = new com . IDENT_1 . IDENT_2 . avro . METHOD_3 ( ) ; { byte [ ] buf = new byte [ 4 ] ; int IDENT_5 = 0 ; int pos = 0 ; while ( ( pos < 4 ) && ( IDENT_5 > ( - 1 ) ) ) { IDENT_5 = in . read ( buf , pos , ( 4 - pos ) ) ; pos += IDENT_5 ; } if ( IDENT_5 == ( - 1 ) ) { throw new java . io . IOException ( STRING_0 ) ; } if ( ! ( java . util . Arrays . equals ( buf , com . IDENT_1 . IDENT_2 . avro . METHOD_3 . IDENT_6 ) ) ) { throw new java . io . IOException ( STRING_1 ) ; } } { java . util . Map < java . lang . String , byte [ ] > meta = com . IDENT_1 . IDENT_2 . avro . IDENT_7 . METHOD_4 ( in ) ; if ( meta . containsKey ( STRING_2 ) ) { header . METHOD_5 ( new java . lang . String ( meta . get ( STRING_2 ) , STRING_3 ) ) ; } if ( meta . containsKey ( STRING_4 ) ) { header . METHOD_6 ( new java . lang . String ( meta . get ( STRING_4 ) , STRING_3 ) ) ; } } { byte [ ] buf = new byte [ org . apache . avro . file . IDENT_8 . IDENT_9 ] ; int IDENT_5 = 0 ; int pos = 0 ; while ( ( pos < ( org . apache . avro . file . IDENT_8 . IDENT_9 ) ) && ( IDENT_5 > ( - 1 ) ) ) { IDENT_5 = in . read ( buf , pos , ( ( org . apache . avro . file . IDENT_8 . IDENT_9 ) - pos ) ) ; pos += IDENT_5 ; } if ( IDENT_5 == ( - 1 ) ) { throw new java . io . IOException ( STRING_0 ) ; } header . METHOD_7 ( buf ) ; } com . IDENT_1 . IDENT_2 . avro . METHOD_3 . LOG . trace ( STRING_5 ) ; com . IDENT_1 . IDENT_2 . avro . METHOD_3 . LOG . trace ( STRING_6 , header . schema ) ; com . IDENT_1 . IDENT_2 . avro . METHOD_3 . LOG . trace ( STRING_7 , header . codec ) ; com . IDENT_1 . IDENT_2 . avro . METHOD_3 . LOG . trace ( STRING_8 , header . IDENT_10 ) ; return header ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_4 )