Revision: 4774
http://sourceforge.net/p/vexi/code/4774
Author: mkpg2
Date: 2015-03-03 01:07:38 +0000 (Tue, 03 Mar 2015)
Log Message:
-----------
Fix for NPE.
Modified Paths:
--------------
branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSArgs.jpp
Modified: branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSArgs.jpp
===================================================================
--- branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSArgs.jpp
2015-02-26 22:03:05 UTC (rev 4773)
+++ branches/vexi3/org.vexi-library.js/src/main/jpp/org/ibex/js/JSArgs.jpp
2015-03-03 01:07:38 UTC (rev 4774)
@@ -1,12 +1,12 @@
package org.ibex.js;
class JSArgs extends JS.Immutable implements JSArrayLike{
- private final JS[] args;
- private final JS callee;
- private final JS this_;
+ final private JS[] args;
+ final private JS callee;
+ final private JS this_;
- public JSArgs(JS[] args, JS callee, JS this_) { this.args = args;
this.callee = callee; this.this_ = this_; }
-
+ public JSArgs(JS[] args, JS callee, JS this_) { this.args =
args==null?JSU.EMPTY_JS_ARRAY:args; this.callee = callee; this.this_ = this_; }
+
public JS getElement(int i) throws JSExn { return i>=args.length ? null :
args[i]; }
public JS get(JS key) throws JSExn {
if(JSU.isInt(key)) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn