You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest adding the recommended action into the message.
@defaultMessage Use String#toLowerCase(Locale) to pass locale explicitly. For instance: .toLowerCase(Locale.ROOT)
java.lang.String#toLowerCase()
@defaultMessage Use String#toUpperCase(Locale) to pass locale explicitly. For instance: .toUpperCase(Locale.ROOT)
java.lang.String#toUpperCase()
An interesting case is
@defaultMessage Uses default locale or time zone
java.util.Calendar#<init>()
In fact, it uses both default locale and default timezone.
I added a timezone, rerun the check, and forbidden-apis was unhappy again on the same line, which was confusing for me for a couple of seconds.
WDYT?
The text was updated successfully, but these errors were encountered:
Here's
jdk-unsafe
:I suggest adding the recommended action into the message.
An interesting case is
In fact, it uses both default locale and default timezone.
I added a timezone, rerun the check, and
forbidden-apis
was unhappy again on the same line, which was confusing for me for a couple of seconds.WDYT?
The text was updated successfully, but these errors were encountered: