question: private JspPropertyGroup selectProperty ( JspPropertyGroup prev , JspPropertyGroup curr ) { if ( prev == null ) { return curr ; } if ( prev . getExtension ( ) == null ) { return prev ; } if ( curr . getExtension ( ) == null ) { return curr ; } String prevPath = prev . getPath ( ) ; String currPath = curr . getPath ( ) ; if ( prevPath == null && currPath == null ) { return prev ; } if ( prevPath == null && currPath != null ) { return curr ; } if ( prevPath != null && currPath == null ) { return prev ; } if ( prevPath . length ( ) >= currPath . length ( ) ) { return prev ; } return curr ; }
target:  Select the property group that has more restrictive url-pattern. In case of tie, select the first.