You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2006/06/02 17:19:18 UTC
svn commit: r411186 -
/xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java
Author: mullan
Date: Fri Jun 2 08:19:17 2006
New Revision: 411186
URL: http://svn.apache.org/viewvc?rev=411186&view=rev
Log:
Fix findbugs bug:
Factory.EncryptedKeyImpl.toElement() invokes toString() method on a String
Modified:
xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java
Modified: xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java
URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java?rev=411186&r1=411185&r2=411186&view=diff
==============================================================================
--- xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java (original)
+++ xml/security/trunk/src/org/apache/xml/security/encryption/XMLCipher.java Fri Jun 2 08:19:17 2006
@@ -3263,8 +3263,7 @@
}
if (null != super.getType()) {
result.setAttributeNS(
- null, EncryptionConstants._ATT_TYPE,
- super.getType().toString());
+ null, EncryptionConstants._ATT_TYPE, super.getType());
}
if (null != super.getMimeType()) {
result.setAttributeNS(null,