Skip to content

Commit 767ef5c

Browse files
author
bnasslahsen
committed
supress warnings
1 parent 1f2eff0 commit 767ef5c

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/ActuatorProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public interface ActuatorProvider {
3939
*
4040
* @return the methods
4141
*/
42-
@SuppressWarnings("unchecked")
4342
Map getMethods();
4443

4544
/**

springdoc-openapi-webflux-core/src/main/java/org/springdoc/webflux/api/OpenApiResource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public Mono<String> openapiYaml(ServerHttpRequest serverHttpRequest,
169169
}
170170

171171
@Override
172+
@SuppressWarnings("unchecked")
172173
protected void getPaths(Map<String, Object> restControllers) {
173174
Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods();
174175
calculatePath(restControllers, map);

springdoc-openapi-webmvc-core/src/main/java/org/springdoc/webmvc/api/OpenApiResource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public String openapiYaml(HttpServletRequest request, @Value(DEFAULT_API_DOCS_UR
204204
}
205205

206206
@Override
207+
@SuppressWarnings("unchecked")
207208
protected void getPaths(Map<String, Object> restControllers) {
208209
Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods();
209210
calculatePath(restControllers, map);

0 commit comments

Comments
 (0)