Skip to content

Commit

Permalink
Same as earlier: use the returned object, which is not the same as th…
Browse files Browse the repository at this point in the history
…e passed IAtomContainer

Change-Id: I5c6424507a3bd691ce1824f64b555b643a608ff6
  • Loading branch information
egonw committed Feb 19, 2012
1 parent a977e85 commit 7199518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/org/openscience/cdk/io/MDLV2000WriterTest.java
Expand Up @@ -366,7 +366,7 @@ public void testAtomParity() throws CDKException, IOException{
InputStream in = ClassLoader.getSystemResourceAsStream("data/mdl/mol_testAtomParity.mol");
MDLV2000Reader reader = new MDLV2000Reader(in);
IAtomContainer molecule = DefaultChemObjectBuilder.getInstance().newInstance(IAtomContainer.class);
reader.read(molecule);
molecule = reader.read(molecule);
reader.close();

StringWriter sw =new StringWriter();
Expand Down

0 comments on commit 7199518

Please sign in to comment.