cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r433310 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java
Date Mon, 21 Aug 2006 18:00:03 GMT
Author: vgritsenko
Date: Mon Aug 21 11:00:02 2006
New Revision: 433310

URL: http://svn.apache.org/viewvc?rev=433310&view=rev
Log:
remove unused variable

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java?rev=433310&r1=433309&r2=433310&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/IncludeTransformer.java
Mon Aug 21 11:00:02 2006
@@ -1015,7 +1015,7 @@
 
                     try {
                         buffer.wait();
-                    } catch (InterruptedException ignored) { }
+                    } catch (InterruptedException e) { /* ignored */ }
                     // Don't continue waiting if interrupted.
                 }
             }
@@ -1059,7 +1059,6 @@
              */
             public void run() {
                 try {
-                    Source source = null;
                     if (getLogger().isDebugEnabled()) {
                         getLogger().debug("Thread #" + thread + " loading <" + element.source
+ ">");
                     }
@@ -1073,9 +1072,6 @@
                         this.e = e;
 
                     } finally {
-                        if (source != null) {
-                            resolver.release(source);
-                        }
                         CocoonComponentManager.leaveEnvironment();
                     }
                 } catch (RuntimeException e) {
@@ -1111,7 +1107,7 @@
                     if (!this.finished) {
                         try {
                             wait();
-                        } catch (InterruptedException ignored) { }
+                        } catch (InterruptedException e) { /* ignored */ }
                         // Don't continue waiting if interrupted.
                     }
                 }



Mime
View raw message