METHOD_0 ( ) { org . apache . IDENT_0 . commons . testing . IDENT_0 . IDENT_1 request = new org . apache . IDENT_0 . commons . testing . IDENT_0 . METHOD_1 ( STRING_0 , "" , STRING_1 , ( ( ( ( com . IDENT_2 . IDENT_3 . commons . IDENT_4 . impl . IDENT_5 . IDENT_6 ) + "/" ) + ( new java . util . METHOD_2 ( ) . METHOD_3 ( ) ) ) + STRING_2 ) , "" ) ; final boolean result = servlet . METHOD_4 ( request ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . IDENT_0 . api . IDENT_7 ) { final com . IDENT_8 . IDENT_9 . IDENT_10 . api . IDENT_11 IDENT_12 = request . METHOD_5 ( ) . METHOD_6 ( com . IDENT_8 . IDENT_9 . IDENT_10 . api . IDENT_11 . class ) ; final org . apache . IDENT_0 . api . resource . IDENT_13 resource = request . getResource ( ) ; if ( ( org . apache . commons . lang . IDENT_14 . isEmpty ( this . IDENT_15 ) ) || ( ! ( org . apache . commons . lang . StringUtils . METHOD_7 ( request . getResource ( ) . getPath ( ) , this . IDENT_15 ) ) ) ) { return false ; } if ( this . METHOD_8 ( request ) . contains ( com . IDENT_2 . IDENT_3 . commons . IDENT_10 . IDENT_16 . impl . IDENT_17 . IDENT_18 ) ) { return false ; } if ( ( IDENT_12 . METHOD_9 ( request . getResource ( ) ) ) == null ) { return false ; } final javax . jcr . Node node = request . getResource ( ) . METHOD_6 ( javax . jcr . Node . class ) ; if ( node != null ) { try { if ( ( ( node . METHOD_10 ( IDENT_19 . IDENT_20 ) ) || ( node . METHOD_10 ( STRING_3 ) ) ) || ( IDENT_21 . IDENT_22 . equals ( node . getName ( ) ) ) ) { return false ; } } catch ( javax . jcr . IDENT_23 e ) { com . IDENT_2 . IDENT_3 . commons . IDENT_10 . IDENT_16 . impl . IDENT_17 . log . error ( ( STRING_4 + STRING_5 ) , e ) ; return false ; } } if ( org . apache . commons . collections . IDENT_24 . METHOD_11 ( this . IDENT_25 ) ) { for ( final java . util . regex . IDENT_26 pattern : this . IDENT_25 ) { final java . util . regex . IDENT_27 matcher = pattern . matcher ( resource . METHOD_12 ( ) ) ; if ( matcher . matches ( ) ) { return true ; } } return false ; } return true ; }
org . junit . Assert . assertFalse ( result )