You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/09/08 13:55:09 UTC

svn commit: r1166641 - /james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java

Author: felixk
Date: Thu Sep  8 11:55:08 2011
New Revision: 1166641

URL: http://svn.apache.org/viewvc?rev=1166641&view=rev
Log:
newInstance expects an Object[]. No need to force casting from String[] to Object[]

Modified:
    james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java

Modified: james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java
URL: http://svn.apache.org/viewvc/james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java?rev=1166641&r1=1166640&r2=1166641&view=diff
==============================================================================
--- james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java (original)
+++ james/mailet/crypto/trunk/src/main/java/org/apache/james/mailet/crypto/mailet/AbstractSign.java Thu Sep  8 11:55:08 2011
@@ -293,7 +293,7 @@ public abstract class AbstractSign exten
         }
             
         // Certificate preparation
-        String[] parameters = {keyStoreFileName, keyStorePassword, keyAlias, keyAliasPassword, keyStoreType};
+        Object[] parameters = {keyStoreFileName, keyStorePassword, keyAlias, keyAliasPassword, keyStoreType};
         setKeyHolder((KeyHolder)keyHolderConstructor.newInstance(parameters));
         
         if (isDebug()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org