ShermanMarshall commented on a change in pull request #448: Tomee 2482 
synchronize examples
URL: https://github.com/apache/tomee/pull/448#discussion_r268404926
 
 

 ##########
 File path: 
examples/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java
 ##########
 @@ -32,7 +31,7 @@
 public class WebApp2Service {
 
     @POST
-    public Response getInfo(@Pattern(regexp = "valid") final String input) {
 
 Review comment:
   I've fixed my changes back to the original. Thanks for the encouragement. 
   
   I think I was confused because it looks like it accepts invalid JSON! I may 
have I made a change to the original before I understood how it worked, and 
that only caused more problems. I didn't understand why 406 was acceptable, 
changed the test, and then... it was all downhill. Good intentions, bad results 
:\

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to