28
28
import org .openscience .cdk .interfaces .IPseudoAtom ;
29
29
30
30
/**
31
- * Class with utilities for the <code>AtomType</code> class.
32
- * - changed 21/7/05 by cho: add properties for mmff94 atom type
31
+ * Class with utilities for the {@link IAtomType} class.
33
32
*
34
33
* @author mfe4
35
34
* @author egonw
@@ -40,7 +39,7 @@ public class AtomTypeManipulator {
40
39
41
40
/**
42
41
* Method that assign properties to an atom given a particular atomType.
43
- * An <code> IllegalArgumentException</code> is thrown if the given <code> IAtomType</code>
42
+ * An {@link IllegalArgumentException} is thrown if the given {@link IAtomType}
44
43
* is null. <b>This method overwrites non-null values.</b>
45
44
*
46
45
* @param atom Atom to configure
@@ -58,14 +57,14 @@ public static void configure(IAtom atom, IAtomType atomType) {
58
57
// we set the atom type name, but nothing else
59
58
atom .setAtomTypeName (atomType .getAtomTypeName ());
60
59
61
- // configuring aotm type information is not really valid
60
+ // configuring atom type information is not really valid
62
61
// for pseudo atoms - first because they basically have no
63
62
// type information and second because they may have information
64
63
// associated with them from another context, which should not be
65
64
// overwritten. So we only do the stuff below if we have a non pseudoatom
66
65
//
67
66
// a side effect of this is that it is probably not valid to get the atom
68
- // type of a peudo atom. I think this is OK, since you can always check
67
+ // type of a pseudo atom. I think this is OK, since you can always check
69
68
// whether an atom is a pseudo atom without looking at its atom type
70
69
if (!(atom instanceof IPseudoAtom )) {
71
70
atom .setSymbol (atomType .getSymbol ());
0 commit comments