abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r438303 - in /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax: FOMContent.java FOMText.java
Date Wed, 30 Aug 2006 00:06:45 GMT
Author: jmsnell
Date: Tue Aug 29 17:06:45 2006
New Revision: 438303

URL: http://svn.apache.org/viewvc?rev=438303&view=rev
Log:
Setting the default type for text and content

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?rev=438303&r1=438302&r2=438303&view=diff
==============================================================================
--- 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
Tue Aug 29 17:06:45 2006
@@ -43,7 +43,7 @@
   implements Content {
 
   private static final long serialVersionUID = -5499917654824498563L;
-  protected Type type = null;
+  protected Type type = Type.TEXT;
   
   public FOMContent(Content.Type type) {
     super(Constants.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?rev=438303&r1=438302&r2=438303&view=diff
==============================================================================
--- 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
Tue Aug 29 17:06:45 2006
@@ -38,7 +38,7 @@
   implements Text {
 
   private static final long serialVersionUID = 5177795905116574120L;
-  protected Type type = null;
+  protected Type type = Type.TEXT;
   
   public FOMText(QName qname, Text.Type type) {
     super(qname);



Mime
View raw message