deniskuzZ commented on code in PR #6401:
URL: https://github.com/apache/hive/pull/6401#discussion_r3027581723


##########
standalone-metastore/metastore-rest-catalog/src/main/java/org/apache/iceberg/rest/standalone/IcebergCatalogConfiguration.java:
##########
@@ -80,9 +78,8 @@ public static ServletRegistrationBean<HttpServlet> 
createRestCatalogServlet(Conf
     if (descriptor == null || descriptor.getServlet() == null) {
       throw new IllegalStateException("Failed to create Iceberg REST Catalog 
servlet");
     }
-
-    ServletRegistrationBean<HttpServlet> registration =
-        new ServletRegistrationBean<>(descriptor.getServlet(), "/" + 
servletPath + "/*");
+    ServletRegistrationBean<?> registration =

Review Comment:
   why not simply replace the import?
   ````
   - javax.servlet.http.HttpServlet
   + jakarta.servlet.http.HttpServlet
   ````
   



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to