svn commit: r565385 - /lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rfrovarp
Date: Mon Aug 13 08:51:05 2007
New Revision: 565385

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

Modified:
    lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java

Modified: lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java?view=diff&rev=565385&r1=565384&r2=565385
==============================================================================
--- lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java (original)
+++ lenya/trunk/src/impl/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java Mon Aug 13 08:51:05 2007
@@ -272,7 +272,6 @@
 
         boolean useBuffer = true;
 
-        Source source = null;
         OutputStream destOutputStream = null;
         try {
             destOutputStream = destination.getOutputStream();
@@ -292,9 +291,6 @@
             if (sourceInputStream != null) {
                 sourceInputStream.close();
             }
-            if (source != null) {
-                resolver.release(source);
-            }
         }
     }
 
@@ -961,4 +957,4 @@
         }
     }
 
-}
\ No newline at end of file
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.