mpoeschl 2002/09/12 23:09:09
Modified: src/java/org/apache/torque TorqueRuntimeException.java
Log:
checkstyle fixes
Revision Changes Path
1.7 +10 -10
jakarta-turbine-torque/src/java/org/apache/torque/TorqueRuntimeException.java
Index: TorqueRuntimeException.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/TorqueRuntimeException.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TorqueRuntimeException.java 10 May 2002 12:22:57 -0000 1.6
+++ TorqueRuntimeException.java 13 Sep 2002 06:09:09 -0000 1.7
@@ -138,7 +138,7 @@
*/
public void printStackTrace()
{
- synchronized(System.err)
+ synchronized (System.err)
{
printStackTrace(System.err);
}
@@ -151,7 +151,7 @@
*/
public void printStackTrace(PrintStream out)
{
- synchronized(out)
+ synchronized (out)
{
PrintWriter pw = new PrintWriter(out, false);
printStackTrace(pw);
@@ -167,7 +167,7 @@
*/
public void printStackTrace(PrintWriter out)
{
- synchronized(out)
+ synchronized (out)
{
printStackTrace(out, 0);
}
@@ -183,28 +183,28 @@
public void printStackTrace(PrintWriter out, int skip)
{
String[] st = captureStackTrace();
- if(nested != null)
+ if (nested != null)
{
- if(nested instanceof TorqueRuntimeException)
+ if (nested instanceof TorqueRuntimeException)
{
((TorqueRuntimeException) nested)
.printStackTrace(out, st.length - 2);
}
- else if(nested instanceof TorqueException)
+ else if (nested instanceof TorqueException)
{
((TorqueException) nested).printStackTrace(out);
}
else
{
String[] nst = captureStackTrace(nested);
- for(int i = 0; i < nst.length - st.length + 2; i++)
+ for (int i = 0; i < nst.length - st.length + 2; i++)
{
out.println(nst[i]);
}
}
out.print("rethrown as ");
}
- for(int i = 0; i < st.length - skip; i++)
+ for (int i = 0; i < st.length - skip; i++)
{
out.println(st[i]);
}
@@ -248,7 +248,7 @@
String linebreak = System.getProperty("line.separator");
StringTokenizer st = new StringTokenizer(stackTrace, linebreak);
LinkedList list = new LinkedList();
- while(st.hasMoreTokens())
+ while (st.hasMoreTokens())
{
list.add(st.nextToken());
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>