commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r730333 - /commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java
Date Wed, 31 Dec 2008 07:20:47 GMT
Author: rahul
Date: Tue Dec 30 23:20:47 2008
New Revision: 730333

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

Modified:
    commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java

Modified: commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java?rev=730333&r1=730332&r2=730333&view=diff
==============================================================================
--- commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java
(original)
+++ commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java
Tue Dec 30 23:20:47 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