Author: dennisl
Date: Fri Nov 17 08:43:10 2006
New Revision: 476205
URL: http://svn.apache.org/viewvc?view=rev&rev=476205
Log:
Fix Checkstyle errors: replace tab characters with spaces.
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/StackAction.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Digester.java
Fri Nov 17 08:43:10 2006
@@ -704,11 +704,11 @@
properties.put("schemaLanguage", schemaLanguage);
}
parser = ParserFeatureSetterFactory.newSAXParser(properties);
- } else {
- // The user doesn't want to use any non-portable parsing
features,
- // so we can just use the portable API here. Note that method
- // getFactory returns a factory already configured with the
- // appropriate namespaceAware and validating properties.
+ } else {
+ // The user doesn't want to use any non-portable parsing
features,
+ // so we can just use the portable API here. Note that method
+ // getFactory returns a factory already configured with the
+ // appropriate namespaceAware and validating properties.
parser = getFactory().newSAXParser();
}
@@ -1027,7 +1027,7 @@
* @since 1.8
*/
public void setStackAction(StackAction stackAction) {
- this.stackAction = stackAction;
+ this.stackAction = stackAction;
}
/**
@@ -1036,7 +1036,7 @@
* @since 1.8
*/
public StackAction getStackAction() {
- return stackAction;
+ return stackAction;
}
/**
@@ -1865,7 +1865,7 @@
URL location = new URL(url);
URLConnection connection = location.openConnection();
connection.setUseCaches(false);
- InputStream stream = connection.getInputStream();
+ InputStream stream = connection.getInputStream();
InputSource source = new InputSource(stream);
source.setSystemId(url);
return source;
@@ -2676,10 +2676,10 @@
public Object pop() {
try {
- Object popped = stack.pop();
- if (stackAction != null) {
- popped = stackAction.onPop(this, null, popped);
- }
+ Object popped = stack.pop();
+ if (stackAction != null) {
+ popped = stackAction.onPop(this, null, popped);
+ }
return popped;
} catch (EmptyStackException e) {
log.warn("Empty stack (returning null)");
@@ -2697,7 +2697,7 @@
public void push(Object object) {
if (stackAction != null) {
- object = stackAction.onPush(this, null, object);
+ object = stackAction.onPush(this, null, object);
}
if (stack.size() == 0) {
@@ -2717,7 +2717,7 @@
*/
public void push(String stackName, Object value) {
if (stackAction != null) {
- value = stackAction.onPush(this, stackName, value);
+ value = stackAction.onPush(this, stackName, value);
}
ArrayStack namedStack = (ArrayStack) stacksByName.get(stackName);
@@ -2754,7 +2754,7 @@
result = namedStack.pop();
if (stackAction != null) {
- result = stackAction.onPop(this, stackName, result);
+ result = stackAction.onPop(this, stackName, result);
}
return result;
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/ParserFeatureSetterFactory.java
Fri Nov 17 08:43:10 2006
@@ -49,13 +49,13 @@
static {
try{
// Use reflection to avoid a build dependency with Xerces.
- //
- // Note that this does not detect Sun's repackaging of
- // Xerces as com.sun.org.apache.xerces; perhaps it should?
- SAXParserFactory factory = SAXParserFactory.newInstance();
- if (factory.getClass().getName().startsWith("org.apache.xerces")) {
+ //
+ // Note that this does not detect Sun's repackaging of
+ // Xerces as com.sun.org.apache.xerces; perhaps it should?
+ SAXParserFactory factory = SAXParserFactory.newInstance();
+ if (factory.getClass().getName().startsWith("org.apache.xerces")) {
isXercesUsed = true;
- }
+ }
} catch (Exception ex) {
isXercesUsed = false;
}
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/StackAction.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/StackAction.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/StackAction.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/StackAction.java
Fri Nov 17 08:43:10 2006
@@ -44,35 +44,35 @@
* @since 1.8
*/
public interface StackAction {
- /**
- * Invoked just before an object is to be pushed onto a digester stack.
- *
- * @param d is the digester instance.
- *
- * @param stackName is the name of the stack onto which the object
- * has been pushed. Null is passed to indicate the default stack.
- *
- * @param o is the object that has just been pushed. Calling peek on the
- * specified stack will return the same object.
- *
- * @return the object to be pushed. Normally, parameter o is returned
- * but this method could return an alternate object to be pushed
- * instead (eg a proxy for the provided object).
- */
+ /**
+ * Invoked just before an object is to be pushed onto a digester stack.
+ *
+ * @param d is the digester instance.
+ *
+ * @param stackName is the name of the stack onto which the object
+ * has been pushed. Null is passed to indicate the default stack.
+ *
+ * @param o is the object that has just been pushed. Calling peek on the
+ * specified stack will return the same object.
+ *
+ * @return the object to be pushed. Normally, parameter o is returned
+ * but this method could return an alternate object to be pushed
+ * instead (eg a proxy for the provided object).
+ */
public Object onPush(Digester d, String stackName, Object o);
/**
* Invoked just after an object has been popped from a digester stack.
*
- * @param d is the digester instance.
- *
- * @param stackName is the name of the stack from which the object
- * has been popped. Null is passed to indicate the default stack.
- *
- * @param o is the object that has just been popped.
- *
- * @return the object to be returned to the called. Normally, parameter
- * o is returned but this method could return an alternate object.
+ * @param d is the digester instance.
+ *
+ * @param stackName is the name of the stack from which the object
+ * has been popped. Null is passed to indicate the default stack.
+ *
+ * @param o is the object that has just been popped.
+ *
+ * @return the object to be returned to the called. Normally, parameter
+ * o is returned but this method could return an alternate object.
*/
public Object onPop(Digester d, String stackName, Object o);
}
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginAssertionFailure.java
Fri Nov 17 08:43:10 2006
@@ -80,6 +80,6 @@
* @since 1.8
*/
public Throwable getCause() {
- return cause;
+ return cause;
}
}
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginConfigurationException.java
Fri Nov 17 08:43:10 2006
@@ -62,6 +62,6 @@
* @since 1.8
*/
public Throwable getCause() {
- return cause;
+ return cause;
}
}
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/plugins/PluginInvalidInputException.java
Fri Nov 17 08:43:10 2006
@@ -58,6 +58,6 @@
* @since 1.8
*/
public Throwable getCause() {
- return cause;
+ return cause;
}
}
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java?view=diff&rev=476205&r1=476204&r2=476205
==============================================================================
---
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
(original)
+++
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/xmlrules/DigesterLoadingException.java
Fri Nov 17 08:43:10 2006
@@ -61,6 +61,6 @@
* @since 1.8
*/
public Throwable getCause() {
- return cause;
+ return cause;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]