METHOD_0 ( ) { java . lang . String schema = IDENT_0 . IDENT_1 ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; java . util . Properties props = new java . util . Properties ( ) ; props . put ( IDENT_2 . IDENT_3 , schema ) ; org . apache . avro . Schema expected = org . apache . avro . Schema . parse ( schema ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . apache . hadoop . conf . Configuration , java . util . Properties ) { java . lang . String IDENT_4 = properties . getProperty ( com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_3 ) ; if ( ( IDENT_4 != null ) && ( ! ( IDENT_4 . equals ( com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_7 ) ) ) ) return org . apache . avro . Schema . parse ( IDENT_4 ) ; IDENT_4 = properties . getProperty ( com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_8 ) ; if ( ( IDENT_4 == null ) || ( IDENT_4 . equals ( com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_7 ) ) ) throw new com . IDENT_5 . IDENT_6 . METHOD_2 ( com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_9 ) ; try { if ( IDENT_4 . toLowerCase ( ) . startsWith ( STRING_0 ) ) return com . IDENT_5 . IDENT_6 . IDENT_2 . METHOD_3 ( IDENT_4 , conf ) ; } catch ( java . io . IOException IDENT_10 ) { throw new com . IDENT_5 . IDENT_6 . METHOD_2 ( ( STRING_1 + IDENT_4 ) , IDENT_10 ) ; } return org . apache . avro . Schema . parse ( new java . net . URL ( IDENT_4 ) . METHOD_4 ( ) ) ; }
org . junit . Assert . assertEquals ( expected , com . IDENT_5 . IDENT_6 . IDENT_2 . IDENT_2 . METHOD_1 ( conf , props ) )