Skip to content

Commit

Permalink
Fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling committed Feb 17, 2024
1 parent a9bd4c8 commit 871249e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/apptasticsoftware/mic/Mic.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public String getCity() {
* @deprecated
* Use {@link #getWebsite() getWebsite} method instead.
*/
@SuppressWarnings("java:S1845")
@SuppressWarnings({"java:S1845", "java:S1133"})
@Deprecated(since = "3.0.14", forRemoval = true)
public Optional<String> getWebSite() {
return Optional.ofNullable(website);
Expand All @@ -201,7 +201,7 @@ public Optional<String> getWebSite() {
* Website of the market.
* @return URL to website
*/
@SuppressWarnings({"java:S1845", "java:S1133"})
@SuppressWarnings("java:S1845")
public Optional<String> getWebsite() {
return Optional.ofNullable(website);
}
Expand Down

0 comments on commit 871249e

Please sign in to comment.