[ 
https://issues.apache.org/jira/browse/CURATOR-630?focusedWorklogId=747082&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-747082
 ]

ASF GitHub Bot logged work on CURATOR-630:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Mar/22 10:12
            Start Date: 24/Mar/22 10:12
    Worklog Time Spent: 10m 
      Work Description: stoty commented on a change in pull request #413:
URL: https://github.com/apache/curator/pull/413#discussion_r834136045



##########
File path: 
curator-x-discovery-server/src/test/java/org/apache/curator/x/discovery/server/jetty_resteasy/TestStringsWithRestEasy.java
##########
@@ -65,7 +65,11 @@ public void         setup() throws Exception
 
         port = InstanceSpec.getRandomPort();
         server = new Server(port);
-        Context root = new Context(server, "/", Context.SESSIONS);
+        ServletContextHandler root = new 
ServletContextHandler(ServletContextHandler.SESSIONS);
+        root.setContextPath("/");
+        server.setHandler(root);

Review comment:
       nit:
   Would be cleaner to set up the root object completely, and call setHandler 
after.




-- 
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: dev-unsubscr...@curator.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 747082)
    Time Spent: 40m  (was: 0.5h)

> Upgrade jetty to 9.4.latest
> ---------------------------
>
>                 Key: CURATOR-630
>                 URL: https://issues.apache.org/jira/browse/CURATOR-630
>             Project: Apache Curator
>          Issue Type: Task
>          Components: General
>    Affects Versions: 5.2.0
>            Reporter: Tamas Penzes
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Curator is currently pulling in 6.1.26. This is a very old version and is EOL.
> Please upgrade to 9.4.latest.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to