From: <eg...@us...> - 2008-10-15 11:48:03
|
Revision: 12692 http://cdk.svn.sourceforge.net/cdk/?rev=12692&view=rev Author: egonw Date: 2008-10-15 11:48:01 +0000 (Wed, 15 Oct 2008) Log Message: ----------- Oops, JME is not a IChemFormatMatcher. Fixes many NPEs Modified Paths: -------------- cdk/branches/egonw-jchempaint/src/test/org/openscience/cdk/io/formats/JMEFormatTest.java Modified: cdk/branches/egonw-jchempaint/src/test/org/openscience/cdk/io/formats/JMEFormatTest.java =================================================================== --- cdk/branches/egonw-jchempaint/src/test/org/openscience/cdk/io/formats/JMEFormatTest.java 2008-10-15 11:47:28 UTC (rev 12691) +++ cdk/branches/egonw-jchempaint/src/test/org/openscience/cdk/io/formats/JMEFormatTest.java 2008-10-15 11:48:01 UTC (rev 12692) @@ -27,10 +27,10 @@ /** * @cdk.module test-io */ -public class JMEFormatTest extends ChemFormatMatcherTest { +public class JMEFormatTest extends ChemFormatTest { public JMEFormatTest() { - super.setChemFormatMatcher((IChemFormatMatcher)JMEFormat.getInstance()); + super.setChemFormat((IChemFormat)JMEFormat.getInstance()); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |