svn commit: r565377 - /lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java

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

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

Modified:
    lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java

Modified: lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java?view=diff&rev=565377&r1=565376&r2=565377
==============================================================================
--- lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java (original)
+++ lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java Mon Aug 13 08:36:37 2007
@@ -18,7 +18,6 @@
 package org.apache.lenya.cms.editors.fckeditor;
 
 import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
@@ -270,7 +269,6 @@
      */
     private void saveXMLFile(String encoding, String content, OutputStream out)
             throws FileNotFoundException, UnsupportedEncodingException, IOException {
-        FileOutputStream fileoutstream = null;
         Writer writer = null;
 
         try {
@@ -286,8 +284,6 @@
             // close all streams
             if (writer != null)
                 writer.close();
-            if (fileoutstream != null)
-                fileoutstream.close();
         }
     }
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.