[mapguide-commits] r4664 - sandbox/rfc71/mapviewerjava

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 15 06:49:21 EDT 2010


Author: jng
Date: 2010-03-15 06:49:21 -0400 (Mon, 15 Mar 2010)
New Revision: 4664

Modified:
   sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp
Log:
#1053: Remove debugging stuff


Modified: sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp
===================================================================
--- sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp	2010-03-15 10:48:11 UTC (rev 4663)
+++ sandbox/rfc71/mapviewerjava/getselectedfeatures.jsp	2010-03-15 10:49:21 UTC (rev 4664)
@@ -117,26 +117,19 @@
         MgByteReader content = resSvc.GetResourceContent(layer.GetLayerDefinition());
         ByteArrayInputStream contentReader = new ByteArrayInputStream(content.ToString().getBytes("UTF-8"));
         
-        System.out.println("[DEBUG]: Got layer content");
-        
         DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
         DocumentBuilder db = dbf.newDocumentBuilder();
         Document doc = db.parse(contentReader);
         
-        System.out.println("[DEBUG]: Loaded layer content into Document");
-        
         doc.getDocumentElement().normalize();
         NodeList propNodes = doc.getElementsByTagName("PropertyMapping");
         
-        System.out.println("[DEBUG]: Get matching element list. Size: " + propNodes.getLength());
-        
         for (int i = 0; i < propNodes.getLength(); i++)
         {
             Element propEl = (Element)propNodes.item(i);
             String name = getTextValue(propEl, "Name");
             String value = getTextValue(propEl, "Value");
             
-            System.out.println("[DEBUG]: Name - " + name + "; Value - " + value);
             if (name != null && value != null)
                 mappings.put(name, value);
         }



More information about the mapguide-commits mailing list