Author: keith
Date: Tue Mar 11 03:49:47 2008
New Revision: 14701

Log:

Minor code clean up



Modified:
   
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
   
trunk/mashup/java/modules/coreservices/sharingservice/src/org/wso2/mashup/share/service/MashupSharingService.java

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
==============================================================================
--- 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
      (original)
+++ 
trunk/mashup/java/modules/core/src/org/wso2/mashup/utils/MashupArchiveManupulator.java
      Tue Mar 11 03:49:47 2008
@@ -35,8 +35,6 @@
 import org.wso2.javascript.rhino.JavaScriptEngineConstants;
 import org.wso2.mashup.MashupConstants;
 import org.wso2.mashup.MashupFault;
-
-import org.wso2.registry.users.UserStoreException;
 import org.wso2.utils.ArchiveManipulator;
 import org.wso2.wsas.ServerConstants;
 
@@ -44,7 +42,10 @@
 import javax.activation.DataSource;
 import javax.activation.FileDataSource;
 import javax.xml.namespace.QName;
-import java.io.*;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.OutputStream;
 import java.net.URL;
 import java.util.zip.ZipEntry;
 import java.util.zip.ZipOutputStream;
@@ -262,7 +263,7 @@
      * @param jsFile       - The handle to the JS File
      * @param resourcesDir - A handle to the resources directory
      * @throws IOException           - Thrown in case the js file cannot be 
read
-     * @throws FileNotFoundException - Thrown in case the js file cannot be 
found
+     * @throws java.io.FileNotFoundException - Thrown in case the js file 
cannot be found
      */
     private void createMashupArchive(ZipOutputStream zos, File jsFile, File 
resourcesDir)
             throws IOException {

Modified: 
trunk/mashup/java/modules/coreservices/sharingservice/src/org/wso2/mashup/share/service/MashupSharingService.java
==============================================================================
--- 
trunk/mashup/java/modules/coreservices/sharingservice/src/org/wso2/mashup/share/service/MashupSharingService.java
   (original)
+++ 
trunk/mashup/java/modules/coreservices/sharingservice/src/org/wso2/mashup/share/service/MashupSharingService.java
   Tue Mar 11 03:49:47 2008
@@ -72,7 +72,7 @@
             throws IOException {
 
         //Authenticating the user
-        boolean authenticated = false;
+        boolean authenticated;
 
         //Adding this to maintain backward compatibility with older versions 
of the Mashup Server
         String overWrite = "false";

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to