METHOD_0 ( ) { try { tools . METHOD_1 ( session , IDENT_0 , org . IDENT_1 . jcr . IDENT_2 . IDENT_3 , org . IDENT_1 . jcr . IDENT_2 . IDENT_3 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } } METHOD_1 ( javax . jcr . Node , java . lang . String , java . lang . String , java . lang . String ) { org . IDENT_1 . jcr . api . IDENT_4 . METHOD_2 ( IDENT_5 , STRING_0 ) ; org . IDENT_1 . jcr . api . IDENT_4 . METHOD_2 ( path , STRING_1 ) ; java . lang . String IDENT_6 = path . replaceAll ( STRING_2 , "" ) . replaceAll ( STRING_3 , "" ) ; try { return IDENT_5 . METHOD_3 ( IDENT_6 ) ; } catch ( javax . jcr . IDENT_7 e ) { } java . lang . String [ ] IDENT_8 = IDENT_6 . split ( "/" ) ; final java . lang . String IDENT_9 = IDENT_5 . getPath ( ) ; final java . lang . StringBuilder IDENT_10 = new java . lang . StringBuilder ( ( ( IDENT_9 . length ( ) ) + ( IDENT_6 . length ( ) ) ) ) ; javax . jcr . Node node ; boolean IDENT_11 = true ; if ( ( IDENT_5 . getPath ( ) . length ( ) ) > 1 ) IDENT_11 = false ; javax . jcr . IDENT_12 session = IDENT_5 . METHOD_4 ( ) ; IDENT_10 . append ( IDENT_9 ) ; for ( int i = 0 , len = IDENT_8 . length ; i != len ; ++ i ) { java . lang . String IDENT_13 = IDENT_8 [ i ] ; IDENT_13 = IDENT_13 . trim ( ) ; if ( ( IDENT_13 . length ( ) ) == 0 ) continue ; if ( session . METHOD_5 ( ( ( ( IDENT_10 . toString ( ) ) + "/" ) + IDENT_13 ) ) ) { if ( ( ! IDENT_11 ) || ( i > 0 ) ) { IDENT_10 . append ( "/" ) ; } IDENT_10 . append ( IDENT_13 ) ; } else { node = session . METHOD_3 ( IDENT_10 . toString ( ) ) ; java . lang . String IDENT_14 = IDENT_13 . replaceAll ( STRING_4 , "" ) ; java . lang . String IDENT_15 = IDENT_16 ; if ( ( i == ( len - 1 ) ) && ( IDENT_17 != null ) ) IDENT_15 = IDENT_17 ; if ( IDENT_15 != null ) { node = node . METHOD_6 ( IDENT_14 , IDENT_15 ) ; } else { node = node . METHOD_6 ( IDENT_14 ) ; } if ( ( ! IDENT_11 ) || ( i > 0 ) ) { IDENT_10 . append ( "/" ) ; } IDENT_10 . append ( IDENT_14 ) ; } } node = session . METHOD_3 ( IDENT_10 . toString ( ) ) ; return node ; }
org . junit . Assert . assertTrue ( ( e instanceof java . lang . IllegalArgumentException ) )