Skip to content

Commit

Permalink
chore: supress warning about deprecated onReceivedError method
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Aug 23, 2024
1 parent 88949ba commit 088ec71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public void onPageFinished(WebView view, String url) {
}

@Override
@SuppressWarnings("java:S1874") // another onReceivedError with non-deprecated signature requires 23 API level
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
super.onReceivedError(view, errorCode, description, failingUrl);
HCaptchaLog.d("[webview] onReceivedError \"%s\" (%d)", description, errorCode);
Expand Down

0 comments on commit 088ec71

Please sign in to comment.