diff options
Diffstat (limited to 'jgvariant-ostree/src/main')
-rw-r--r-- | jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java | 4 | ||||
-rw-r--r-- | jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java index b489cf0..2e052a2 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java @@ -44,8 +44,8 @@ enum DeltaOperationType { case (byte) 'R' -> UNSET_READ_SOURCE; case (byte) 'c' -> CLOSE; case (byte) 'B' -> BSPATCH; - default -> throw new IllegalArgumentException( - "invalid DeltaOperation: %d".formatted(byteValue)); + default -> + throw new IllegalArgumentException("invalid DeltaOperation: %d".formatted(byteValue)); }; } } diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java index ccd5630..fa33c69 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java @@ -58,8 +58,9 @@ public record DeltaPartPayload( throw new IllegalStateException(e); } } - default -> throw new IllegalArgumentException( - "unrecognized compression byte '%d'".formatted(compressionByte)); + default -> + throw new IllegalArgumentException( + "unrecognized compression byte '%d'".formatted(compressionByte)); }; } |