commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r729255 - /commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
Date Wed, 24 Dec 2008 06:58:55 GMT
Author: rahul
Date: Tue Dec 23 22:58:55 2008
New Revision: 729255

URL: http://svn.apache.org/viewvc?rev=729255&view=rev
Log:
Detab, identified by checkstyle.

Modified:
    commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java

Modified: commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java?rev=729255&r1=729254&r2=729255&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
(original)
+++ commons/proper/digester/trunk/src/java/org/apache/commons/digester/NodeCreateRule.java
Tue Dec 23 22:58:55 2008
@@ -163,11 +163,11 @@
          * if the content reported by the parser is not purely whitespace.
          */
         private void addTextIfPresent() throws SAXException {
-        	if (topText.length() > 0) {
-        		String str = topText.toString();
-        		topText.setLength(0);
+            if (topText.length() > 0) {
+                String str = topText.toString();
+                topText.setLength(0);
 
-        		if (str.trim().length() > 0) {
+                if (str.trim().length() > 0) {
                     // The contained text is not *pure* whitespace, so create
                     // a text node to hold it. Note that the "untrimmed" text
                     // is stored in the node.
@@ -209,7 +209,7 @@
         public void characters(char[] ch, int start, int length)
             throws SAXException {
 
-        	topText.append(ch, start, length);
+            topText.append(ch, start, length);
         }
 
 



Mime
View raw message