Skip to content

Commit

Permalink
Fixes ClassCastException when not IMolecule
Browse files Browse the repository at this point in the history
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information
Arvid Berg authored and egonw committed Oct 21, 2009
1 parent f29a66b commit 6f3e848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/org/openscience/cdk/libio/cml/Convertor.java
Expand Up @@ -329,7 +329,7 @@ private CMLMoleculeList cdkMoleculeSetToCMLList(IMoleculeSet moleculeSet, boolea
);
} else {
cmlList.appendChild(
cdkAtomContainerToCMLMolecule((IMolecule)container, false)
cdkAtomContainerToCMLMolecule(container, false)
);
}
}
Expand Down

0 comments on commit 6f3e848

Please sign in to comment.