Repository: camel
Updated Branches:
  refs/heads/master 7f5301b75 -> c77a1ee3f


CAMEL-8129: Applied correction patch. Thanks to Franz.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c77a1ee3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c77a1ee3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c77a1ee3

Branch: refs/heads/master
Commit: c77a1ee3f32a376682c7a6d641ff470d958e4b6a
Parents: 7f5301b
Author: Claus Ibsen <davscl...@apache.org>
Authored: Fri Dec 19 08:55:10 2014 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Dec 19 08:55:10 2014 +0100

----------------------------------------------------------------------
 .../component/xmlsecurity/api/DefaultXAdESSignatureProperties.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c77a1ee3/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultXAdESSignatureProperties.java
----------------------------------------------------------------------
diff --git 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultXAdESSignatureProperties.java
 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultXAdESSignatureProperties.java
index edfd757..173559d 100644
--- 
a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultXAdESSignatureProperties.java
+++ 
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultXAdESSignatureProperties.java
@@ -45,7 +45,7 @@ public class DefaultXAdESSignatureProperties extends 
XAdESSignatureProperties {
     protected X509Certificate getSigningCertificate() throws Exception { 
//NOPMD
         X509Certificate cert = (X509Certificate) 
keystore.getCertificate(alias);
         if (cert == null) {
-            throw new XmlSignatureException("No certificate found in keystore 
for alias '%s'");
+            throw new XmlSignatureException(String.format("No certificate 
found in keystore for alias '%s'", alias));
         }
         return cert;
     }

Reply via email to