migrated to gitea
All checks were successful
CI / build (push) Successful in 48s

This commit is contained in:
2024-04-04 08:39:31 +08:00
parent c4ccec0fc3
commit 19162b5b97
18 changed files with 125 additions and 42 deletions

View File

@@ -21,7 +21,7 @@ enum SerializationFormat {
.filter(sf -> Objects.equals(sf.name, value))
.findFirst()
.orElseThrow(() -> {
var availableValues = Stream.of(
String availableValues = Stream.of(
JSON,
JBON
).map(SerializationFormat::name).collect(Collectors.joining(", "));

View File

@@ -11,7 +11,7 @@ import picocli.CommandLine;
subcommands = {WsonCommand.class, WcfgCommand.class})
public class WsonCli implements Runnable {
public static void main(String[] args) {
final var commandLine = new CommandLine(new WsonCli());
final CommandLine commandLine = new CommandLine(new WsonCli());
commandLine.setExecutionExceptionHandler((ex, cl, parseResult) -> {
log.error(ex.getMessage(), ex);
return CommandLine.ExitCode.SOFTWARE;