grpc-java/netty
Eric Anderson 0e45e04041
Avoid accidental locale-sensitive String.format()
%s is fairly safe (requires a Formattable to use Locale), so %d is the
main risk item. Places that really didn't need to use String.format()
were converted to plain string concatenation. Logging locations were
generally converted to using the log infrastructure's delayed
formatting, which is generally locale-sensitive but we're okay with
that. That wasn't done in okhttp, however, because Android frequently
doesn't use MessageFormat so we'd lose the parameters. Everywhere else
was explicitly defined to be Locale.US, to be consistent independent of
the default system locale.
2022-07-19 14:41:34 -07:00
..
shaded Use Gradle's task configuration avoidance APIs 2022-07-08 12:16:40 -07:00
src Avoid accidental locale-sensitive String.format() 2022-07-19 14:41:34 -07:00
BUILD.bazel netty: implement UdsNameResolver and UdsNettyChannelProvider (#9113) 2022-05-02 16:41:50 -07:00
build.gradle Use Gradle's task configuration avoidance APIs 2022-07-08 12:16:40 -07:00