abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1372165 - /abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMProcessingInstruction.java
Date Sun, 12 Aug 2012 18:24:50 GMT
Author: veithen
Date: Sun Aug 12 18:24:50 2012
New Revision: 1372165

URL: http://svn.apache.org/viewvc?rev=1372165&view=rev
Log:
A processing instruction is always complete.

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

Modified: abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMProcessingInstruction.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMProcessingInstruction.java?rev=1372165&r1=1372164&r2=1372165&view=diff
==============================================================================
--- abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMProcessingInstruction.java
(original)
+++ abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/FOMProcessingInstruction.java
Sun Aug 12 18:24:50 2012
@@ -57,8 +57,6 @@ public class FOMProcessingInstruction ex
     }
 
     public <T extends ProcessingInstruction> T setText(String text) {
-        if (!isComplete() && builder != null)
-            build();
         setValue(text);
         return (T)this;
     }



Mime
View raw message