minor fixes

This commit is contained in:
Jonathan Shook 2022-07-26 01:15:11 -05:00
parent bc63a28426
commit 21ca1d1b2f
3 changed files with 2 additions and 4 deletions

View File

@ -257,8 +257,6 @@ public class OptionHelpers implements NBConfigurable {
add("defaultidempotence","",(m,v) -> {});
add("drivermetrics","",(m,v) -> {});
}
public void add(String name, String description, Modifier modifier) {

View File

@ -36,7 +36,7 @@ public class ResultCode implements ErrorHandler, NBMapConfigurable {
@Override
public void applyConfig(Map<String, ?> providedConfig) {
this.code = Byte.valueOf(providedConfig.get("code").toString());
this.code = Byte.parseByte(providedConfig.get("code").toString());
}
@Override

View File

@ -62,7 +62,7 @@ public class LoggerConfig extends ConfigurationFactory {
);
/**
* Some included libraries are spammy and intefere with normal diagnostic visibility, so
* Some included libraries are spammy and interfere with normal diagnostic visibility, so
* we squelch them to some reasonable level so they aren't a nuisance.
*/
public static Map<String, Level> BUILTIN_OVERRIDES = Map.of(