Author: keith
Date: Thu Apr 24 23:07:24 2008
New Revision: 16134

Log:

Make sure the comments are uniform. Have a space after the // Mashup-771


Modified:
   
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java

Modified: 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
==============================================================================
--- 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   (original)
+++ 
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
   Thu Apr 24 23:07:24 2008
@@ -131,12 +131,12 @@
         this.configCtx = configCtx;
         this.axisConfig = this.configCtx.getAxisConfiguration();
         try {
-            //Creating the global function scheduler instance
+            // Creating the global function scheduler instance
             SchedulerFactory schedulerFactory = new StdSchedulerFactory();
             Scheduler scheduler = schedulerFactory.getScheduler();
             scheduler.start();
 
-            //Storing the scheduler as a parameter in the axis ocnfiguration
+            // Storing the scheduler as a parameter in the axis ocnfiguration
             Parameter functionScheduler =
                     new Parameter(MashupConstants.QUARTZ_FUNCTION_SCHEDULER, 
scheduler);
             this.axisConfig.addParameter(functionScheduler);
@@ -263,7 +263,7 @@
                 return;
             }
             if (service != null) {
-                //Unscheduling all the functions scheduled by this service
+                // Unscheduling all the functions scheduled by this service
                 HashMap scheduledJobs = (HashMap) service
                         
.getParameter(MashupConstants.QUARTZ_FUNCTION_SCHEDULER_JOB_IDS).getValue();
                 Iterator scheduledJobIds = scheduledJobs.values().iterator();
@@ -283,7 +283,7 @@
                     }
                 }
 
-                //Removing the service from registry
+                // Removing the service from registry
                 Parameter myRegistryPath =
                         
service.getParameter(MashupConstants.REGISTRY_MASHUP_PATH);
                 if (myRegistryPath != null && myRegistryPath.getValue() 
instanceof String) {
@@ -368,7 +368,7 @@
                                                   
MashupConstants.MASHUP_JS_SERVICE);
             axisService.addParameter(serviceType);
 
-            //Adding a parameter to store the job ID's of all the functions 
scheduled by this
+            // Adding a parameter to store the job ID's of all the functions 
scheduled by this
             // service
             Parameter jobIds =
                     new 
Parameter(MashupConstants.QUARTZ_FUNCTION_SCHEDULER_JOB_IDS, new HashMap());
@@ -427,7 +427,7 @@
             // Infer the username (The author of this service)
             String username = MashupUtils.inferUserName(file, realm, name);
 
-            //create a service group per service.
+            // create a service group per service.
             // Axis2 has a flat space for services. But in the Mashup Server 
we need to support
             // services on a per user basis, hence two users can have a 
service with the same name.
             // To tackle this issue the mashup server sets the service name 
inside axis as
@@ -502,8 +502,8 @@
                                                  
MashupConstants.MASHUP_MEDIA_TYPE,
                                                  
JavaScriptEngineConstants.SERVICE_JS);
 
-            //Storing the registry path as a service parameter, to be used at 
undeployment time
-            //to remove the service from registry
+            // Storing the registry path as a service parameter, to be used at 
undeployment time
+            // to remove the service from registry
             Parameter myRegistryPath = new 
Parameter(MashupConstants.REGISTRY_MASHUP_PATH, path);
             axisService.addParameter(myRegistryPath);
 
@@ -838,7 +838,7 @@
                     RESTUtil.getConstantFromHTTPLocation(httpLocation, 
httpMethod);
             httpLocationTable.put(httpLocationString, axisOp);
 
-            //set the org.wso2.javascript.rhino.JavaScriptReceiver as the 
MessageReceiver for this
+            // set the org.wso2.javascript.rhino.JavaScriptReceiver as the 
MessageReceiver for this
             // operation
             axisOp.setMessageReceiver(new JavaScriptReceiver());
             axisOp.setStyle(WSDLConstants.STYLE_DOC);

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

Reply via email to