kaspersorensen commented on a change in pull request #22: Add support for CORS
URL: https://github.com/apache/metamodel-membrane/pull/22#discussion_r290460161
 
 

 ##########
 File path: 
undertow/src/main/java/org/apache/metamodel/membrane/server/WebServer.java
 ##########
 @@ -85,7 +88,16 @@ public static void startServer(int port) throws Exception {
         final DeploymentManager manager = 
Servlets.defaultContainer().addDeployment(deployment);
         manager.deploy();
 
-        final Undertow server = Undertow.builder().addHttpListener(port, 
"0.0.0.0").setHandler(manager.start()).build();
+        HttpHandler handler;
 
 Review comment:
   Should be final

----------------------------------------------------------------
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