abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r567749 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java
Date Mon, 20 Aug 2007 16:54:31 GMT
Author: jmsnell
Date: Mon Aug 20 09:54:30 2007
New Revision: 567749

URL: http://svn.apache.org/viewvc?rev=567749&view=rev
Log:
Stupid compiler error

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java?rev=567749&r1=567748&r2=567749&view=diff
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMExtensibleElement.java
Mon Aug 20 09:54:30 2007
@@ -207,7 +207,7 @@
 
   public <T extends Element> T addExtension(QName qname, QName before) {
     OMElement el = getFirstChildWithName(before);
-    T element = getFactory().newElement(qname);
+    T element = (T)getFactory().newElement(qname);
     if (el == null) {
       addExtension(element);
     } else {



Mime
View raw message