-
Notifications
You must be signed in to change notification settings - Fork 786
Open
Description
We're using the following code in our project:
return URLEncoder.encode(string, UTF_8.name());When using errorprone with gradle we get a warning message that is obsolete. This is not the case however.
Build output
/jobrunr/core/src/main/java/org/jobrunr/utils/StringUtils.java:112: warning: [JdkObsolete] Use URLEncoder.encode(String, Charset) instead.
return URLEncoder.encode(string, UTF_8.name());
^
(see https://errorprone.info/bugpattern/JdkObsolete)
Our setup:
plugins {
id 'net.ltgt.errorprone' version '5.1.0' apply false
}
dependencies {
errorprone 'com.google.errorprone:error_prone_core:2.48.0'
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels