Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1083 cdk.tools.CDKHydrogenAdder iterator

cdk-1.2.x
closed
nobody
javadoc (32)
5
2012-11-03
2010-07-26
Nick Vandewiele
No

The 1st example wrongly iterates over the IAtoms via an Iterator object, which returns a Type Matching error.
Iterator<IAtom> atoms = methane.atoms();

Instead, an expression like this would preferred:
for (IAtom atom : methane.atoms()) {
}

Discussion

  • Patch has been applied.