[mashup-dev] svn commit r13246 -
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system
svn at wso2.org
svn at wso2.org
Mon Feb 4 10:48:24 PST 2008
Author: tyrell
Date: Mon Feb 4 10:48:20 2008
New Revision: 13246
Log:
Minor code cleanup.
Modified:
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/FunctionSchedulingJob.java
Modified: trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/FunctionSchedulingJob.java
==============================================================================
--- trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/FunctionSchedulingJob.java (original)
+++ trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/system/FunctionSchedulingJob.java Mon Feb 4 10:48:20 2008
@@ -45,13 +45,12 @@
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
- final Object jsFunction;
try {
MessageContext currentMessageContext =
(MessageContext) jobExecutionContext.getJobDetail().getJobDataMap()
.get(FunctionSchedulingJob.PARENT_MESSAGE_CONTEXT);
- jsFunction = jobExecutionContext.getJobDetail().getJobDataMap()
+ Object jsFunction = jobExecutionContext.getJobDetail().getJobDataMap()
.get(FunctionSchedulingJob.JAVASCRIPT_FUNCTION);
JavaScriptEngine jsEngine =
@@ -97,7 +96,7 @@
Reader reader = readJS(currentMessageContext);
- Object[] args = null;
+ Object[] args;
//support for importing javaScript files using services.xml or the axis2.xml
String scripts = getImportScriptsList(currentMessageContext);
More information about the Mashup-dev
mailing list