Permalink
Browse files

Updated to the 1.4.x API

  • Loading branch information...
1 parent 2f19e98 commit c5443a72ef6db1ac9cd1d65c293e938fde53586f @egonw egonw committed Mar 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/org/openscience/cdk/atomtype/CDKAtomTypeMatcherTest.java
@@ -3376,7 +3376,7 @@ public void testPine() throws Exception {
IAtomType atomTypeP = new NNAtomType(Elements.PHOSPHORUS);
AtomTypeManipulator.configure(atomP, atomTypeP);
- IAtomContainer ac = atomP.getBuilder().newAtomContainer();
+ IAtomContainer ac = atomP.getBuilder().newInstance(IAtomContainer.class);
ac.addAtom(atomP);
IAtomType type = null;
for (IAtom atom : ac.atoms()) {

0 comments on commit c5443a7

Please sign in to comment.