Skip to content

Commit

Permalink
fix checkstyle error
Browse files Browse the repository at this point in the history
  • Loading branch information
ileler committed Aug 6, 2019
1 parent c981566 commit dcb1e8b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,11 @@ private List<Parameter> readParameters(OperationContext context) {
List<ApiImplicitParams> annotations = context.findAllAnnotations(ApiImplicitParams.class);

List<Parameter> parameters = new ArrayList<>();
if (annotations != null && !annotations.isEmpty()) {
if (!annotations.isEmpty()) {
for (ApiImplicitParams annotation : annotations) {
if (annotation != null) {
for (ApiImplicitParam param : annotation.value()) {
parameters.add(OperationImplicitParameterReader.implicitParameter(descriptions, param));
}
}
}
}

Expand Down

0 comments on commit dcb1e8b

Please sign in to comment.