reta commented on a change in pull request #847:
URL: https://github.com/apache/cxf/pull/847#discussion_r705243746



##########
File path: 
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/model/URITemplate.java
##########
@@ -83,7 +83,7 @@ public URITemplate(String theTemplate) {
                     // however do not add them if they already exist since 
that will cause the Matcher
                     // to create extraneous values.  Parens identify a group 
so multiple parens would
                     // indicate multiple groups.
-                    if (pattern.startsWith("(") && pattern.endsWith(")")) {
+                    if (pattern.startsWith("(") && pattern.endsWith(")") && 
!pattern.startsWith("(?:")) {

Review comment:
       👍 thanks @jimma !




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to