From 1e6c650f6f93e44ee8aaefeeecffd9f405fa320f Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Thu, 28 Mar 2024 21:17:07 +0100 Subject: [PATCH] KB -> KiB --- src/main/java/org/apache/maven/plugins/gpg/BcSigner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java b/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java index 6f9954c..8103e0d 100644 --- a/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java +++ b/src/main/java/org/apache/maven/plugins/gpg/BcSigner.java @@ -143,7 +143,7 @@ public byte[] loadKeyRingMaterial(RepositorySystemSession session) throws IOExce if (Files.size(keyPath) < MAX_SIZE) { return Files.readAllBytes(keyPath); } else { - throw new IOException("Refusing to load file " + keyPath + "; is larger than 64KB"); + throw new IOException("Refusing to load file " + keyPath + "; is larger than 64KiB"); } } return null;