From: axelcl Date: Thu, 26 May 2005 21:57:12 +0000 (+0000) Subject: Fixed bug for stacktrace: X-Git-Url: http://secure.phpeclipse.com Fixed bug for stacktrace: http://phpeclipse.de/tiki-view_forum_thread.php?forumId=1&comments_parentId=1726 --- diff --git a/archive/net.sourceforge.phpeclipse.js.core/src/net/sourceforge/phpeclipse/js/core/parser/JSParser.java b/archive/net.sourceforge.phpeclipse.js.core/src/net/sourceforge/phpeclipse/js/core/parser/JSParser.java index 7db271f..5842aae 100644 --- a/archive/net.sourceforge.phpeclipse.js.core/src/net/sourceforge/phpeclipse/js/core/parser/JSParser.java +++ b/archive/net.sourceforge.phpeclipse.js.core/src/net/sourceforge/phpeclipse/js/core/parser/JSParser.java @@ -9,6 +9,10 @@ * Modifications history *======================================================================== * $Log: not supported by cvs2svn $ + * Revision 1.3 2005/05/06 00:58:28 stefanbjarni + * Organized imports + * Changed one instance reference to a static method to a static reference + * * Revision 1.2 2005/04/06 18:29:29 axelcl * Avoid NullPointerException * @@ -810,7 +814,7 @@ public class JSParser globalVariables.put(variableName, aVariable); } else { - aVariable = (JSGlobalVariableElement) classes.get(variableName); + aVariable = (JSGlobalVariableElement) globalVariables.get(variableName); } return aVariable;