This is an automated email from the ASF dual-hosted git repository.

cschneider pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new b7fb580  Remove unused parameter
b7fb580 is described below

commit b7fb580769382149f7fd362da933a426bdfbd740
Author: Christian Schneider <ch...@die-schneider.net>
AuthorDate: Thu Sep 21 20:11:04 2017 +0200

    Remove unused parameter
---
 .../main/java/org/apache/cxf/jaxrs/swagger/SwaggerUiResolver.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerUiResolver.java
 
b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerUiResolver.java
index f3a30ba..376b216 100644
--- 
a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerUiResolver.java
+++ 
b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerUiResolver.java
@@ -47,7 +47,7 @@ public class SwaggerUiResolver {
             if (cl instanceof URLClassLoader) {
                 for (URL url : ((URLClassLoader)cl).getURLs()) {
                     String root = 
-                        checkUiRoot(url.toString(), 
swaggerUiMavenGroupAndArtifact, swaggerUiVersion);
+                        checkUiRoot(url.toString(), swaggerUiVersion);
                     if (root != null) {
                         return root;
                     }
@@ -56,7 +56,7 @@ public class SwaggerUiResolver {
             Enumeration<URL> urls = cl.getResources(UI_RESOURCES_ROOT_START);
             while (urls.hasMoreElements()) {
                 String urlStr = 
urls.nextElement().toString().replace(UI_RESOURCES_ROOT_START, "");     
-                String root = checkUiRoot(urlStr, 
swaggerUiMavenGroupAndArtifact, swaggerUiVersion);
+                String root = checkUiRoot(urlStr, swaggerUiVersion);
                 if (root != null) {
                     return root;
                 }
@@ -67,7 +67,7 @@ public class SwaggerUiResolver {
         return null;
     }
 
-    protected static String checkUiRoot(String urlStr, String 
swaggerUiMavenGroupAndArtifact, String swaggerUiVersion) {
+    protected static String checkUiRoot(String urlStr, String 
swaggerUiVersion) {
         int swaggerUiIndex = urlStr.lastIndexOf("/swagger-ui-");
         if (swaggerUiIndex != -1) {
             boolean urlEndsWithJarSep = urlStr.endsWith(".jar!/");

-- 
To stop receiving notification emails like this one, please contact
['"commits@cxf.apache.org" <commits@cxf.apache.org>'].

Reply via email to