[minijoe] r80 committed - Added final to static declarations

0 views
Skip to first unread message

min...@googlecode.com

unread,
Oct 1, 2010, 5:49:23 PM10/1/10
to min...@googlegroups.com
Revision: 80
Author: orientalsensation
Date: Fri Oct 1 14:47:36 2010
Log: Added final to static declarations
http://code.google.com/p/minijoe/source/detail?r=80

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

=======================================
--- /trunk/src/com/google/minijoe/sys/JsError.java Wed Dec 10 06:11:58 2008
+++ /trunk/src/com/google/minijoe/sys/JsError.java Fri Oct 1 14:47:36 2010
@@ -20,25 +20,25 @@
*/
public class JsError extends JsObject {

- static JsObject ERROR_PROTOTYPE =
+ final static JsObject ERROR_PROTOTYPE =
new JsObject(OBJECT_PROTOTYPE).addVar("name", "Error");

- static JsObject EVAL_ERROR_PROTOTYPE =
+ final static JsObject EVAL_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "EvalError");

- static JsObject RANGE_ERROR_PROTOTYPE =
+ final static JsObject RANGE_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "RangeError");

- static JsObject REFERENCE_ERROR_PROTOTYPE =
+ final static JsObject REFERENCE_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "ReferenceError");

- static JsObject SYNTAX_ERROR_PROTOTYPE =
+ final static JsObject SYNTAX_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "SyntaxError");

- static JsObject TYPE_ERROR_PROTOTYPE =
+ final static JsObject TYPE_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "TypeError");

- static JsObject URI_ERROR_PROTOTYPE =
+ final static JsObject URI_ERROR_PROTOTYPE =
new JsObject(ERROR_PROTOTYPE).addVar("name", "URIError");

/**

Reply all
Reply to author
Forward
0 new messages