abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r488500 - in /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax: FOMContent.java FOMText.java
Date Tue, 19 Dec 2006 01:55:39 GMT
Author: jmsnell
Date: Mon Dec 18 17:55:38 2006
New Revision: 488500

URL: http://svn.apache.org/viewvc?view=rev&rev=488500
Log:
Fix for https://issues.apache.org/jira/browse/ABDERA-30

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

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMContent.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMContent.java?view=diff&rev=488500&r1=488499&r2=488500
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMContent.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMContent.java
Mon Dec 18 17:55:38 2006
@@ -57,6 +57,7 @@
     OMFactory factory)
       throws OMException {
     super(name, namespace, parent, factory);
+    init(type);
   }
   
   public FOMContent(
@@ -338,4 +339,13 @@
     }
     return super.getLanguage();
   }
+
+  @Override
+  public Object clone() {
+    FOMContent content = (FOMContent) super.clone();
+    content.type = this.type;
+    return content;
+  }
+  
+  
 }

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMText.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMText.java?view=diff&rev=488500&r1=488499&r2=488500
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMText.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMText.java
Mon Dec 18 17:55:38 2006
@@ -216,4 +216,11 @@
     return super.getLanguage();
   }
 
+  @Override
+  public Object clone() {
+    FOMText text = (FOMText) super.clone();
+    text.type = type;
+    return text;
+  }
+
 }



Mime
View raw message