From aa78743c8f054e58adce37b396d96650c7ff6d7a Mon Sep 17 00:00:00 2001 From: axelcl Date: Thu, 26 May 2005 21:57:12 +0000 Subject: [PATCH] Fixed bug for stacktrace: http://phpeclipse.de/tiki-view_forum_thread.php?forumId=1&comments_parentId=1726 --- .../phpeclipse/js/core/parser/JSParser.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) 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; -- 1.7.1