Revision: 4805
          http://sourceforge.net/p/vexi/code/4805
Author:   mkpg2
Date:     2015-07-06 18:28:17 +0000 (Mon, 06 Jul 2015)
Log Message:
-----------
Minor improvement. Background call should use the scheduler run method.

Modified Paths:
--------------
    branches/vexi3/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java

Modified: 
branches/vexi3/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java
===================================================================
--- branches/vexi3/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java 
2015-07-05 18:33:44 UTC (rev 4804)
+++ branches/vexi3/org.vexi-library.js/src/main/java/org/ibex/js/Scheduler.java 
2015-07-06 18:28:17 UTC (rev 4805)
@@ -98,7 +98,7 @@
 
 
     // Default Implementation 
//////////////////////////////////////////////////////
-    protected void run(Callable c) throws Exception{ c.run(null); }
+    protected Object run(Callable c) throws Exception{ return c.run(null); }
     
     public Exception defaultRun() {
         try {
@@ -429,7 +429,7 @@
        new java.lang.Thread() {
             public void run() { 
                 try {
-                       JS ret = callable.run(null);
+                       JS ret = (JS)Scheduler.this.run(callable);
                        schedule(callback,ret);                         
                 }catch(Exception e){
                       JSExn jsexn = (e instanceof JSExn) ? (JSExn)e : new 
JSExn(e);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to