Author: markt Date: Thu Sep 13 18:00:44 2018 New Revision: 1840845 URL: http://svn.apache.org/viewvc?rev=1840845&view=rev Log: Java 6
Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/servlets/CGIServlet.java Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/servlets/CGIServlet.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/servlets/CGIServlet.java?rev=1840845&r1=1840844&r2=1840845&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/servlets/CGIServlet.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/servlets/CGIServlet.java Thu Sep 13 18:00:44 2018 @@ -618,7 +618,7 @@ public final class CGIServlet extends Ht throws ServletException, IOException { // Note: This method will never be called if cgiMethods is "*" so that // case does nto need to be handled here. - Set<String> allowedMethods = new HashSet<>(); + Set<String> allowedMethods = new HashSet<String>(); allowedMethods.addAll(cgiMethods); allowedMethods.addAll(CGIServlet.DEFAULT_SUPER_METHODS); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org