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