You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/08 06:51:42 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/threads/src/java/org/apache/commons/jelly/tags/threads ThreadTag.java
dion 2004/09/07 21:51:42
Modified: jelly/jelly-tags/threads/src/java/org/apache/commons/jelly/tags/threads
ThreadTag.java
Log:
detab
Revision Changes Path
1.4 +8 -8 jakarta-commons/jelly/jelly-tags/threads/src/java/org/apache/commons/jelly/tags/threads/ThreadTag.java
Index: ThreadTag.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/threads/src/java/org/apache/commons/jelly/tags/threads/ThreadTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ThreadTag.java 25 Feb 2004 01:31:54 -0000 1.3
+++ ThreadTag.java 8 Sep 2004 04:51:42 -0000 1.4
@@ -1,12 +1,12 @@
/*
* Copyright 2002,2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -74,7 +74,7 @@
// lets default to system.out
try {
xmlOutput = XMLOutput.createXMLOutput(System.out);
- }
+ }
catch (UnsupportedEncodingException e) {
throw new JellyTagException(e);
}
@@ -90,11 +90,11 @@
getBody().run(useThisContext, xmlOutput);
if (closeOutput) {
xmlOutput.close();
- }
+ }
else {
xmlOutput.flush();
}
- }
+ }
catch (JellyTagException e) {
// jelly wraps the exceptions thrown
Throwable subException = e.getCause();
@@ -116,10 +116,10 @@
// wrap the exception with a RuntimeException
if (e instanceof RuntimeException) {
- throw (RuntimeException) e;
+ throw (RuntimeException) e;
}
else {
- throw new NestedRuntimeException(e);
+ throw new NestedRuntimeException(e);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org