abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r420599 - /incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java
Date Mon, 10 Jul 2006 18:14:46 GMT
Author: jmsnell
Date: Mon Jul 10 11:14:46 2006
New Revision: 420599

URL: http://svn.apache.org/viewvc?rev=420599&view=rev
Log:
Fix for the ExtensionElement API change

Modified:
    incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java

Modified: incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java?rev=420599&r1=420598&r2=420599&view=diff
==============================================================================
--- incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java
(original)
+++ incubator/abdera/java/trunk/security/src/main/java/org/apache/abdera/security/util/EncryptionBase.java
Mon Jul 10 11:14:46 2006
@@ -18,7 +18,7 @@
 package org.apache.abdera.security.util;
 
 import org.apache.abdera.model.Document;
-import org.apache.abdera.model.ExtensionElement;
+import org.apache.abdera.model.Element;
 import org.apache.abdera.security.Encryption;
 import org.apache.abdera.security.SecurityException;
 
@@ -29,7 +29,7 @@
 
   public boolean isEncrypted(
     Document doc) throws SecurityException {
-      ExtensionElement el = (ExtensionElement) doc.getRoot();
+      Element el = doc.getRoot();
       return el.getQName().equals(Constants.ENCRYPTEDDATA);
   }
 



Mime
View raw message