[minijoe] r76 committed - TYPE_* static variables were accessible only to package itself, while ...

0 views
Skip to first unread message

min...@googlecode.com

unread,
Aug 2, 2010, 11:16:07 AM8/2/10
to min...@googlegroups.com
Revision: 76
Author: orientalsensation
Date: Mon Aug 2 08:15:22 2010
Log: TYPE_* static variables were accessible only to package itself, while
getType() is defined as public. Changed TYPE_* to be public, too.
http://code.google.com/p/minijoe/source/detail?r=76

Modified:
/trunk/src/com/google/minijoe/sys/JsObject.java

=======================================
--- /trunk/src/com/google/minijoe/sys/JsObject.java Sun Jul 25 06:50:37 2010
+++ /trunk/src/com/google/minijoe/sys/JsObject.java Mon Aug 2 08:15:22 2010
@@ -145,13 +145,13 @@
static final int ID_SQRT2 = 84;
static final int ID_SQRT2_SET = 85;

- static final int TYPE_UNDEFINED = 0;
- static final int TYPE_NULL = 1;
- static final int TYPE_OBJECT = 2;
- static final int TYPE_BOOLEAN = 3;
- static final int TYPE_NUMBER = 4;
- static final int TYPE_STRING = 5;
- static final int TYPE_FUNCTION = 6;
+ public static final int TYPE_UNDEFINED = 0;
+ public static final int TYPE_NULL = 1;
+ public static final int TYPE_OBJECT = 2;
+ public static final int TYPE_BOOLEAN = 3;
+ public static final int TYPE_NUMBER = 4;
+ public static final int TYPE_STRING = 5;
+ public static final int TYPE_FUNCTION = 6;

/** Javascript type names as returned by the typeof operator. Note
* that TYPE_NULL and TYPE_OBJECT are mapped to object both. */

Reply all
Reply to author
Forward
0 new messages