This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit 23df67c3cd988ed8caebbd672835f8d174f5d65e
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jan 28 08:21:41 2026 -0500

    Inline single use local variable
---
 src/main/java/org/apache/commons/crypto/NativeCodeLoader.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java 
b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
index dff9fc26..789c4b0f 100644
--- a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
+++ b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
@@ -186,8 +186,8 @@ private static File findNativeLibrary() {
         }
 
         if (!hasNativeLib) {
-            final String errorMessage = String.format("No native library is 
found for os.name=%s and os.arch=%s", OsInfo.getOSName(), OsInfo.getArchName());
-            throw new IllegalStateException(errorMessage);
+            throw new IllegalStateException(
+                    String.format("No native library is found for os.name=%s 
and os.arch=%s", OsInfo.getOSName(), OsInfo.getArchName()));
         }
 
         // Temporary folder for the native lib. Use the value of

Reply via email to