You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by aa...@apache.org on 2010/03/23 18:13:58 UTC
svn commit: r926669 -
/click/trunk/click/framework/src/org/apache/click/service/TemplateException.java
Author: aadrian
Date: Tue Mar 23 17:13:58 2010
New Revision: 926669
URL: http://svn.apache.org/viewvc?rev=926669&view=rev
Log:
format cleanup to pass checkstyle
Modified:
click/trunk/click/framework/src/org/apache/click/service/TemplateException.java
Modified: click/trunk/click/framework/src/org/apache/click/service/TemplateException.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/TemplateException.java?rev=926669&r1=926668&r2=926669&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/service/TemplateException.java (original)
+++ click/trunk/click/framework/src/org/apache/click/service/TemplateException.java Tue Mar 23 17:13:58 2010
@@ -114,9 +114,9 @@ public class TemplateException extends E
* @param printStream the printStream to print the stack trace to
*/
@Override
- public void printStackTrace (PrintStream printStream) {
- synchronized(printStream) {
- if(getCause() == this) {
+ public void printStackTrace(PrintStream printStream) {
+ synchronized (printStream) {
+ if (getCause() == this) {
super.printStackTrace(printStream);
} else {
getCause().printStackTrace(printStream);
@@ -130,9 +130,9 @@ public class TemplateException extends E
* @param printWriter the printWriter to writer the stack trace to
*/
@Override
- public void printStackTrace (PrintWriter printWriter) {
- synchronized(printWriter) {
- if(getCause() == this) {
+ public void printStackTrace(PrintWriter printWriter) {
+ synchronized (printWriter) {
+ if (getCause() == this) {
super.printStackTrace(printWriter);
} else {
getCause().printStackTrace(printWriter);
@@ -149,8 +149,8 @@ public class TemplateException extends E
*/
@Override
public Throwable fillInStackTrace() {
- if(getCause() == this) {
- return super.fillInStackTrace ();
+ if (getCause() == this) {
+ return super.fillInStackTrace();
}
return this;
}