[Mathlib-commitlog] SF.net SVN: mathlib:[684] JMathLib/trunk/src/jmathlib/core/functions
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-14 20:16:35
|
Revision: 684
http://mathlib.svn.sourceforge.net/mathlib/?rev=684&view=rev
Author: st_mueller
Date: 2009-01-14 20:16:28 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
removed toLowerCase()
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/core/functions/FunctionManager.java
JMathLib/trunk/src/jmathlib/core/functions/WebFunctionLoader.java
Modified: JMathLib/trunk/src/jmathlib/core/functions/FunctionManager.java
===================================================================
--- JMathLib/trunk/src/jmathlib/core/functions/FunctionManager.java 2009-01-11 19:12:17 UTC (rev 683)
+++ JMathLib/trunk/src/jmathlib/core/functions/FunctionManager.java 2009-01-14 20:16:28 UTC (rev 684)
@@ -90,7 +90,7 @@
@return the Function found*/
public Function findFunction(FunctionToken token) throws java.lang.Exception {
Function func = null;
- String funcName = token.getName().toLowerCase();
+ String funcName = token.getName();
int index = -1;
//then check the external functions
Modified: JMathLib/trunk/src/jmathlib/core/functions/WebFunctionLoader.java
===================================================================
--- JMathLib/trunk/src/jmathlib/core/functions/WebFunctionLoader.java 2009-01-11 19:12:17 UTC (rev 683)
+++ JMathLib/trunk/src/jmathlib/core/functions/WebFunctionLoader.java 2009-01-14 20:16:28 UTC (rev 684)
@@ -7,8 +7,6 @@
/**Class for storing and managing the m- and p-functions
- *
- * JMH Should be more aptly named "WebFunctionLoader"
*/
public class WebFunctionLoader extends FunctionLoader
{
@@ -84,7 +82,7 @@
functionPath = ((String)functionListV.elementAt(i));
// !! Remark: the command toLowerCase() is necessary, because some filenames have upper case letters (e.g. Disp.class)
- if ( functionPath.toLowerCase().endsWith("/"+functionName+".class") )
+ if ( functionPath.endsWith("/"+functionName+".class") )
{
foundClassFileB = true; // indicate that class file was found
functionPath = functionPath.substring(0,functionPath.length()-6);
@@ -94,7 +92,7 @@
break;
}
- if ( functionPath.toLowerCase().endsWith("/"+functionName+".m") )
+ if ( functionPath.endsWith("/"+functionName+".m") )
{
// functionsPath contains the path AND the m-filename
foundMFileB = true; // indicate that m-file was found
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|