You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ra...@apache.org on 2008/12/31 08:20:47 UTC
svn commit: r730333 -
/commons/proper/digester/branches/1_X_LINE/src/java/org/apache/commons/digester/NodeCreateRule.java
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);
}