diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java b/jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java index 6bad868cf3d..84eb956c08a 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/PathMap.java @@ -396,10 +396,8 @@ public class PathMap extends HashMap * @param pathSpec the path spec * @param path the path * @return true if match. - * @throws IllegalArgumentException if the matcher experienced a failure */ public static boolean match(String pathSpec, String path) - throws IllegalArgumentException { return match(pathSpec, path, false); } @@ -410,10 +408,8 @@ public class PathMap extends HashMap * @param path the path * @param noDefault true to not handle the default path "/" special, false to allow matcher rules to run * @return true if match. - * @throws IllegalArgumentException if matcher experienced a failure */ public static boolean match(String pathSpec, String path, boolean noDefault) - throws IllegalArgumentException { if (pathSpec.length()==0) return "/".equals(path); diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/ExtendedSslContextFactory.java b/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/ExtendedSslContextFactory.java index 4954b83900c..3968e84d88e 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/ExtendedSslContextFactory.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/ExtendedSslContextFactory.java @@ -21,7 +21,6 @@ package org.eclipse.jetty.util.ssl; import java.security.KeyStore; import java.security.cert.Certificate; import java.security.cert.X509Certificate; -import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; @@ -39,7 +38,6 @@ import javax.net.ssl.SSLParameters; import javax.net.ssl.StandardConstants; import javax.net.ssl.X509ExtendedKeyManager; -import org.eclipse.jetty.util.StringUtil; import org.eclipse.jetty.util.log.Log; import org.eclipse.jetty.util.log.Logger;