cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r433309 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java
Date Mon, 21 Aug 2006 17:57:49 GMT
Author: vgritsenko
Date: Mon Aug 21 10:57:46 2006
New Revision: 433309

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

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java?rev=433309&r1=433308&r2=433309&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/transformation/IncludeTransformer.java
Mon Aug 21 10:57:46 2006
@@ -1012,7 +1012,7 @@
 
                     try {
                         buffer.wait();
-                    } catch (InterruptedException ignored) { }
+                    } catch (InterruptedException e) { /* ignored */ }
                     // Don't continue waiting if interrupted.
                 }
             }
@@ -1056,7 +1056,6 @@
              */
             public void run() {
                 try {
-                    Source source = null;
                     if (getLogger().isDebugEnabled()) {
                         getLogger().debug("Thread #" + thread + " loading <" + element.source
+ ">");
                     }
@@ -1070,9 +1069,6 @@
                         this.e = e;
 
                     } finally {
-                        if (source != null) {
-                            resolver.release(source);
-                        }
                         EnvironmentHelper.leaveProcessor();
                     }
                 } catch (ProcessingException e) {
@@ -1108,7 +1104,7 @@
                     if (!this.finished) {
                         try {
                             wait();
-                        } catch (InterruptedException ignored) { }
+                        } catch (InterruptedException e) { /* ignored */ }
                         // Don't continue waiting if interrupted.
                     }
                 }



Mime
View raw message