Skip to content

Commit 998b83c

Browse files
committed
Resolve #523 15 Remove duplicate check
1 parent 51266a4 commit 998b83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

legacy/src/main/java/org/openscience/cdk/iupac/parser/MoleculeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ else if ("oyl chloride".equals(funGroupToken)) {
186186
else if ("chloro".equals(funGroupToken)) {
187187
//If functional group hasn't had a location specified:
188188
if (addPos < 0) {
189-
addAtom("Cl", currentMolecule.isEmpty() ? null : currentMolecule.isEmpty() ? null : currentMolecule.getAtom(0), IBond.Order.SINGLE, 0);
189+
addAtom("Cl", currentMolecule.isEmpty() ? null : currentMolecule.getAtom(0), IBond.Order.SINGLE, 0);
190190
} else {
191191
addAtom("Cl", currentMolecule.getAtom(addPos), IBond.Order.SINGLE, 0);
192192
}

0 commit comments

Comments
 (0)