METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 0 , STRING_3 0 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , STRING_3 2 , STRING_9 } ; java . lang . String path = STRING_3 1 ; for ( java . lang . String url : IDENT_0 ) { java . lang . String result = org . apache . IDENT_1 . hdfs . IDENT_2 . METHOD_1 ( url ) ; "<AssertPlaceHolder>" ; } } METHOD_1 ( java . lang . String ) { if ( org . apache . commons . lang . StringUtils . isEmpty ( path ) ) { return null ; } java . net . URI uri ; try { uri = new java . net . URI ( org . apache . commons . lang . StringUtils . METHOD_2 ( new org . apache . http . client . utils . METHOD_3 ( ) . METHOD_4 ( path ) . toString ( ) , "/" ) ) ; } catch ( java . net . IDENT_3 e ) { throw new org . apache . IDENT_1 . hdfs . METHOD_5 ( ( ( STRING_10 + path ) + "]" ) , e ) ; } java . lang . String IDENT_4 = uri . METHOD_6 ( ) ; if ( IDENT_4 == null ) { IDENT_4 = org . apache . IDENT_1 . hdfs . IDENT_2 . IDENT_5 ; if ( IDENT_4 == null ) { throw new org . apache . IDENT_1 . hdfs . METHOD_5 ( STRING_11 ) ; } } if ( ! ( IDENT_4 . equalsIgnoreCase ( org . apache . IDENT_1 . hdfs . IDENT_2 . IDENT_6 ) ) ) { return null ; } java . lang . String IDENT_7 = uri . getPath ( ) ; if ( IDENT_7 == null ) { throw new org . apache . IDENT_1 . hdfs . METHOD_5 ( ( STRING_12 + uri ) ) ; } if ( ! ( IDENT_7 . startsWith ( "/" ) ) ) { throw new org . apache . IDENT_1 . hdfs . METHOD_5 ( ( ( ( ( STRING_13 + STRING_14 ) + IDENT_7 ) + STRING_15 ) + uri ) ) ; } if ( ( IDENT_7 . indexOf ( STRING_16 ) ) >= 0 ) { IDENT_7 = IDENT_7 . replaceAll ( STRING_17 , "/" ) ; } return org . apache . commons . lang . StringUtils . METHOD_7 ( IDENT_7 , "/" ) ; }
org . junit . Assert . assertEquals ( ( STRING_3 + url ) , path , result )