replace(string, string) to replace(char, char) [spotbugs]

This commit is contained in:
Erik C. Thauvin 2019-09-13 01:37:22 -07:00
parent 4ccdcb95c3
commit d7e1cf9132
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class LocalProperties {
}
private static String keyToEnv(final String key) {
return key.replace("-", "_").toUpperCase(Constants.LOCALE);
return key.replace('-', '_').toUpperCase(Constants.LOCALE);
}
@BeforeSuite(alwaysRun = true)