geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecr...@apache.org
Subject svn commit: r638040 - /geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java
Date Mon, 17 Mar 2008 19:29:36 GMT
Author: ecraig
Date: Mon Mar 17 12:29:35 2008
New Revision: 638040

URL: http://svn.apache.org/viewvc?rev=638040&view=rev
Log:
GERONIMO-3719: Monitoring agent uses sun classes
Removed commented out chunks no longer used
Quick fix was put in revision 606631 by david jencks

Modified:
    geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java

Modified: geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java?rev=638040&r1=638039&r2=638040&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java
(original)
+++ geronimo/server/branches/2.1/plugins/monitoring/agent-jar/src/main/java/org/apache/geronimo/monitoring/snapshot/SnapshotConfigXMLBuilder.java
Mon Mar 17 12:29:35 2008
@@ -33,9 +33,6 @@
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
-//import com.sun.org.apache.xml.internal.serialize.OutputFormat;
-//import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
-
 /**
  * In charge of dealing with the XML processing of the snapshot's data.
  */
@@ -265,11 +262,7 @@
             xmlObject.save(new File(path));
 
             // formatting the doc
-//            OutputFormat format = new OutputFormat(document);
-//            format.setIndenting(true);
             // generate a file output
-//            XMLSerializer serializer = new XMLSerializer(new FileOutputStream(new File(path)),
format);
-//            serializer.serialize(document);
         } catch(Exception e) {
             log.error(e.getMessage(), e);
         }



Mime
View raw message