METHOD_0 ( ) { org . apache . shindig . common . uri . IDENT_0 base = org . apache . shindig . common . uri . IDENT_0 . parse ( STRING_0 ) ; org . apache . shindig . common . uri . IDENT_0 other = org . apache . shindig . common . uri . IDENT_0 . parse ( STRING_1 ) ; "<AssertPlaceHolder>" ; } resolve ( org . apache . shindig . common . uri . IDENT_0 ) { if ( IDENT_1 == null ) { return null ; } if ( IDENT_1 . METHOD_1 ( ) ) { return IDENT_1 ; } org . apache . shindig . common . uri . IDENT_2 result ; if ( ( ( ( ( com . google . common . base . IDENT_3 . METHOD_2 ( IDENT_1 . path ) ) && ( ( IDENT_1 . IDENT_4 ) == null ) ) && ( ( IDENT_1 . IDENT_5 ) == null ) ) && ( ( IDENT_1 . query ) == null ) ) && ( ( IDENT_1 . IDENT_6 ) != null ) ) { result = new org . apache . shindig . common . uri . METHOD_3 ( this ) ; result . METHOD_4 ( IDENT_1 . IDENT_6 ) ; } else if ( ( IDENT_1 . IDENT_4 ) != null ) { result = new org . apache . shindig . common . uri . METHOD_3 ( IDENT_1 ) ; } else if ( ( IDENT_1 . IDENT_5 ) != null ) { result = new org . apache . shindig . common . uri . METHOD_3 ( IDENT_1 ) ; result . METHOD_5 ( IDENT_4 ) ; } else { result = new org . apache . shindig . common . uri . METHOD_3 ( this ) ; result . METHOD_4 ( IDENT_1 . IDENT_6 ) ; result . METHOD_6 ( IDENT_1 . query ) ; java . lang . String IDENT_7 = com . google . common . base . IDENT_8 . METHOD_7 ( IDENT_1 . path , "" ) ; if ( IDENT_7 . startsWith ( "/" ) ) { result . METHOD_8 ( IDENT_7 ) ; } else { java . lang . String IDENT_9 = ( ( path ) != null ) ? path : "/" ; int IDENT_10 = ( IDENT_9 . METHOD_9 ( STRING_2 ) ) + 1 ; result . METHOD_8 ( org . apache . shindig . common . uri . IDENT_0 . METHOD_10 ( ( ( IDENT_9 . substring ( 0 , IDENT_10 ) ) + IDENT_7 ) ) ) ; } } org . apache . shindig . common . uri . IDENT_0 IDENT_11 = result . METHOD_11 ( ) ; org . apache . shindig . common . uri . IDENT_0 . validate ( IDENT_11 ) ; return IDENT_11 ; }
org . junit . Assert . assertEquals ( STRING_1 , base . resolve ( other ) . toString ( ) )