From: Peter S. <sch...@us...> - 2005-10-20 13:50:26
|
Update of /cvsroot/plb4jedit/plb4jedit/Plb/src/java/net/sf/plb4jedit/plb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6881/Plb/src/java/net/sf/plb4jedit/plb Modified Files: ResourceManager.java Log Message: search for labels and variables case insensitive Index: ResourceManager.java =================================================================== RCS file: /cvsroot/plb4jedit/plb4jedit/Plb/src/java/net/sf/plb4jedit/plb/ResourceManager.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ResourceManager.java 28 Jun 2005 07:01:12 -0000 1.4 +++ ResourceManager.java 20 Oct 2005 13:50:17 -0000 1.5 @@ -107,7 +107,7 @@ * found. */ public Variable searchVariable(String varname) { - return (Variable) getVariables().get(varname); + return (Variable) getVariables().get(varname.toLowerCase()); } /** @@ -120,7 +120,7 @@ * found. */ public Label searchLabel(String label) { - return (Label) getLabels().get(label); + return (Label) getLabels().get(label.toLowerCase()); } private void fillOwn(PlbSource source) { |