[mapguide-commits] r5488 - trunk/MgDev/Web/src/mapviewerjava

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jan 5 00:57:31 EST 2011


Author: hubu
Date: 2011-01-04 21:57:31 -0800 (Tue, 04 Jan 2011)
New Revision: 5488

Modified:
   trunk/MgDev/Web/src/mapviewerjava/common.jsp
Log:
Fixed Ticket: https://trac.osgeo.org/mapguide/ticket/1579
This is a subsequence submission of Revision #5485, which breaks the compile of jsp.

Modified: trunk/MgDev/Web/src/mapviewerjava/common.jsp
===================================================================
--- trunk/MgDev/Web/src/mapviewerjava/common.jsp	2010-12-29 06:32:51 UTC (rev 5487)
+++ trunk/MgDev/Web/src/mapviewerjava/common.jsp	2011-01-05 05:57:31 UTC (rev 5488)
@@ -64,7 +64,7 @@
     String strval = GetParameter(request, name);
     if(strval.equals(""))
         return 0;
-    if(Pattern.matches("^(\d+)([.]{0,1})(\d*)$", strval))
+    if(Pattern.matches("^(\\d+)([.]{0,1})(\\d*)$", strval))
         return Double.parseDouble(strval);
     else
         return 0;



More information about the mapguide-commits mailing list