Skip to content
Permalink
Browse files
some light cleanup not user impacting
  • Loading branch information
rmannibucau committed Jul 29, 2018
1 parent d05af67 commit e3e2a38813d9d4e2561069f7b1858b36b7d2878d
Showing 3 changed files with 2 additions and 24 deletions.
@@ -36,7 +36,6 @@ public class DefaultLoader {
@Inject
private ServletContext context;

// todo: finish binding
public OpenAPI loadDefaultApi() {
final ClassLoader loader = Thread.currentThread().getContextClassLoader();
return Stream.of("", "/").map(prefix -> prefix + "META-INF/openapi.json")
@@ -58,27 +58,6 @@ public Type getOwnerType() {
};
}

private static Type listType(final Class<?> value) {
final Type[] args = new Type[] { value };
return new ParameterizedType() {

@Override
public Type[] getActualTypeArguments() {
return args;
}

@Override
public Type getRawType() {
return Map.class;
}

@Override
public Type getOwnerType() {
return null;
};
};
}

@Vetoed
public static class MapHeadersDeserializer extends BaseDeserializer<Map<String, Header>> {
public MapHeadersDeserializer() {
@@ -124,14 +124,14 @@
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-servlet-api</artifactId>
<version>9.0.8</version>
<version>9.0.10</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-integration-cdi</artifactId>
<version>3.2.4</version>
<version>3.2.5</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>

0 comments on commit e3e2a38

Please sign in to comment.