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 . METHOD_1 ( ) , schema ) ; org . apache . avro . Schema expected = org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . METHOD_2 ( schema ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . hadoop . conf . Configuration , java . util . Properties ) { java . lang . String IDENT_6 = properties . getProperty ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_2 . IDENT_3 . METHOD_1 ( ) ) ; if ( ( IDENT_6 != null ) && ( ! ( IDENT_6 . equals ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_7 ) ) ) ) return org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . METHOD_2 ( IDENT_6 ) ; IDENT_6 = properties . getProperty ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_2 . IDENT_8 . METHOD_1 ( ) ) ; if ( IDENT_6 == null ) { final java . lang . String IDENT_9 = properties . getProperty ( IDENT_10 . IDENT_11 ) ; final java . lang . String IDENT_12 = properties . getProperty ( IDENT_10 . IDENT_13 ) ; final java . lang . String IDENT_14 = properties . getProperty ( IDENT_15 . IDENT_16 ) ; if ( ( ( ( IDENT_9 == null ) || ( IDENT_9 . isEmpty ( ) ) ) || ( IDENT_12 == null ) ) || ( IDENT_12 . isEmpty ( ) ) ) { throw new org . apache . hadoop . hive . IDENT_4 . avro . METHOD_4 ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_17 ) ; } final java . lang . String IDENT_18 = ( properties . containsKey ( IDENT_10 . IDENT_19 ) ) ? properties . getProperty ( IDENT_10 . IDENT_19 ) : java . lang . String . valueOf ( IDENT_20 . IDENT_21 ) ; java . util . List < java . lang . String > IDENT_22 = java . util . Arrays . asList ( IDENT_9 . split ( IDENT_18 ) ) ; java . util . List < org . apache . hadoop . hive . IDENT_4 . IDENT_23 . IDENT_24 > IDENT_25 = org . apache . hadoop . hive . IDENT_4 . IDENT_23 . IDENT_26 . METHOD_5 ( IDENT_12 ) ; org . apache . avro . Schema schema = org . apache . hadoop . hive . IDENT_4 . avro . IDENT_15 . METHOD_6 ( properties , IDENT_22 , IDENT_25 , IDENT_14 ) ; properties . setProperty ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_2 . IDENT_3 . METHOD_1 ( ) , schema . toString ( ) ) ; if ( conf != null ) conf . set ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_2 . IDENT_27 . METHOD_1 ( ) , schema . toString ( false ) ) ; return schema ; } else if ( IDENT_6 . equals ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_7 ) ) { throw new org . apache . hadoop . hive . IDENT_4 . avro . METHOD_4 ( org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . IDENT_17 ) ; } try { org . apache . avro . Schema s = org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . METHOD_7 ( IDENT_6 , conf ) ; if ( s == null ) { return org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . METHOD_2 ( new java . net . URL ( IDENT_6 ) ) ; } return s ; } catch ( java . io . IOException IDENT_28 ) { throw new org . apache . hadoop . hive . IDENT_4 . avro . METHOD_4 ( ( STRING_0 + IDENT_6 ) , IDENT_28 ) ; } catch ( java . net . IDENT_29 IDENT_30 ) { throw new org . apache . hadoop . hive . IDENT_4 . avro . METHOD_4 ( ( STRING_0 + IDENT_6 ) , IDENT_30 ) ; } }
org . junit . Assert . assertEquals ( expected , org . apache . hadoop . hive . IDENT_4 . avro . IDENT_5 . METHOD_3 ( conf , props ) )