Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 97158 invoked from network); 17 Mar 2008 19:30:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 19:30:03 -0000 Received: (qmail 32092 invoked by uid 500); 17 Mar 2008 19:30:00 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 32034 invoked by uid 500); 17 Mar 2008 19:30:00 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 32025 invoked by uid 99); 17 Mar 2008 19:30:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 12:30:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 19:29:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D1B401A981A; Mon, 17 Mar 2008 12:29:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: ecraig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080317192938.D1B401A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); }