Skip to content

Commit

Permalink
eliminate code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jul 8, 2024
1 parent 38d7edc commit 4b30169
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ static class TestRewriteContentHandler implements RewriteContentHandler {
public List<Content> rewriteElement(Element element) {

if (StringUtils.equals(element.getName(), "to-remove")) {
List<Content> content = new ArrayList<Content>();
return content;
return new ArrayList<Content>();
}

else if (StringUtils.equals(element.getName(), "to-keep")) {
Expand Down

0 comments on commit 4b30169

Please sign in to comment.