Skip to content

Commit

Permalink
Moved class into a org.openscience.cdk package, which seems to work n…
Browse files Browse the repository at this point in the history
…ow. I'm puzzled why it did not before. Solved several unit test fails.
  • Loading branch information
egonw committed Aug 5, 2009
1 parent f77db9c commit b055c6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/org/openscience/cdk/io/CMLWriter.java
Expand Up @@ -36,7 +36,6 @@
import java.util.List;

import nu.xom.Attribute;
import nu.xom.CustomSerializer;
import nu.xom.Document;
import nu.xom.Element;
import nu.xom.Serializer;
Expand All @@ -58,6 +57,7 @@
import org.openscience.cdk.interfaces.IReaction;
import org.openscience.cdk.interfaces.IReactionScheme;
import org.openscience.cdk.interfaces.IReactionSet;
import org.openscience.cdk.io.cml.CustomSerializer;
import org.openscience.cdk.io.formats.CMLFormat;
import org.openscience.cdk.io.formats.IResourceFormat;
import org.openscience.cdk.io.setting.BooleanIOSetting;
Expand Down
@@ -1,6 +1,4 @@
/* $Revision$ $Author$ $Date$
*
* Copyright (C) 2009 Egon Willighagen <egonw@users.sf.net>
/* Copyright (C) 2009 Egon Willighagen <egonw@users.sf.net>
*
* Contact: cdk-devel@lists.sourceforge.net
*
Expand All @@ -22,16 +20,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package nu.xom;
package org.openscience.cdk.io.cml;

import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;

import nu.xom.Serializer;

/**
* Custom {@link Serializer} with the sole purpose and functionality to not
* output the XML declaration. Needs to be in the <code>nu.xom</code> package
* to allow overwriting of the writeXMLDeclaration method.
* output the XML declaration.
*
* @author egonw
* @cdk.module libiocml
Expand Down Expand Up @@ -69,6 +68,3 @@ protected void writeXMLDeclaration() throws IOException {
}

}



0 comments on commit b055c6b

Please sign in to comment.