Skip to content

Commit 1938e0b

Browse files
committed
Two typo fixes and a few JavaDoc links
1 parent 0dda78a commit 1938e0b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

base/standard/src/main/java/org/openscience/cdk/tools/manipulator/AtomTypeManipulator.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
import org.openscience.cdk.interfaces.IPseudoAtom;
2929

3030
/**
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.
3332
*
3433
* @author mfe4
3534
* @author egonw
@@ -40,7 +39,7 @@ public class AtomTypeManipulator {
4039

4140
/**
4241
* 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}
4443
* is null. <b>This method overwrites non-null values.</b>
4544
*
4645
* @param atom Atom to configure
@@ -58,14 +57,14 @@ public static void configure(IAtom atom, IAtomType atomType) {
5857
// we set the atom type name, but nothing else
5958
atom.setAtomTypeName(atomType.getAtomTypeName());
6059

61-
// configuring aotm type information is not really valid
60+
// configuring atom type information is not really valid
6261
// for pseudo atoms - first because they basically have no
6362
// type information and second because they may have information
6463
// associated with them from another context, which should not be
6564
// overwritten. So we only do the stuff below if we have a non pseudoatom
6665
//
6766
// 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
6968
// whether an atom is a pseudo atom without looking at its atom type
7069
if (!(atom instanceof IPseudoAtom)) {
7170
atom.setSymbol(atomType.getSymbol());

0 commit comments

Comments
 (0)