click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadr...@apache.org
Subject svn commit: r926669 - /click/trunk/click/framework/src/org/apache/click/service/TemplateException.java
Date Tue, 23 Mar 2010 17:13:58 GMT
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;
     }



Mime
View raw message