Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcb1e8b

Browse files
author
ileler
committed
fix checkstyle error
1 parent c981566 commit dcb1e8b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParametersReader.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ private List<Parameter> readParameters(OperationContext context) {
6161
List<ApiImplicitParams> annotations = context.findAllAnnotations(ApiImplicitParams.class);
6262

6363
List<Parameter> parameters = new ArrayList<>();
64-
if (annotations != null && !annotations.isEmpty()) {
64+
if (!annotations.isEmpty()) {
6565
for (ApiImplicitParams annotation : annotations) {
66-
if (annotation != null) {
6766
for (ApiImplicitParam param : annotation.value()) {
6867
parameters.add(OperationImplicitParameterReader.implicitParameter(descriptions, param));
6968
}
70-
}
7169
}
7270
}
7371

0 commit comments

Comments
 (0)