[java-mvn-enforcer] branch main updated: Report keyIds as 0x, not 0X

Rod Widdowson rdw at steadingsoftware.com
Wed Oct 6 10:32:26 UTC 2021


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-mvn-enforcer.

View the commit online:
http://git.shibboleth.net/view/?p=java-mvn-enforcer.git;a=commit;h=82712107a554ca2423132878f7826e7c119fbb84

The following commit(s) were added to refs/heads/main by this push:
       new  8271210   Report keyIds as 0x, not 0X
8271210 is described below

commit 82712107a554ca2423132878f7826e7c119fbb84
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Oct 6 11:31:56 2021 +0100

    Report keyIds as 0x, not 0X
    
    It makes the 'gpg' verb happier.
---
 src/main/java/net/shibboleth/mvn/enforcer/impl/GPGKeyRing.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/mvn/enforcer/impl/GPGKeyRing.java b/src/main/java/net/shibboleth/mvn/enforcer/impl/GPGKeyRing.java
index 5c288ee..90e199f 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/GPGKeyRing.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/GPGKeyRing.java
@@ -240,7 +240,7 @@ import org.slf4j.Logger;
                     throw new IOException("Provided file was not a signature");
                 }
             }
-            keyId = String.format("0X%016X", signature.getKeyID());
+            keyId = String.format("0x%016X", signature.getKeyID());
         }
 
         /**

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list