Skip to content

Commit

Permalink
Eliminate SonarQube warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 19, 2024
1 parent 4decaf3 commit 4e62a77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class ImageMapParserImpl<T> implements ImageMapParser<T> {
@Override
@SuppressWarnings({
"null", "unchecked",
"java:S3776", "S135" // ignore complexity
"java:S3776", "java:S135" // ignore complexity
})
public @Nullable List<ImageMapArea<T>> parseMap(@Nullable String mapString) {
if (StringUtils.isBlank(mapString)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ else if (firstMediaSource == null) {
}

@Override
@SuppressWarnings("null")
@SuppressWarnings({ "null", "java:S2589" })
public boolean isValidElement(HtmlElement<?> element) {

// if it is null it is always invalid
Expand Down

0 comments on commit 4e62a77

Please sign in to comment.