Skip to content

Commit 35a6fa1

Browse files
committed
code cleanup
1 parent b079421 commit 35a6fa1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ public void buildGenericResponse(Components components, Map<String, Object> find
163163
if (org.springframework.aop.support.AopUtils.isAopProxy(controllerAdvice))
164164
objClz = org.springframework.aop.support.AopUtils.getTargetClass(controllerAdvice);
165165
ControllerAdviceInfo controllerAdviceInfo = new ControllerAdviceInfo(controllerAdvice);
166-
Class<?> finalObjClz = objClz;
167166
Arrays.stream(ReflectionUtils.getAllDeclaredMethods(objClz))
168167
.filter(m -> m.isAnnotationPresent(ExceptionHandler.class)
169168
|| isResponseEntityExceptionHandlerMethod(m)

0 commit comments

Comments
 (0)