Skip to content

Commit 6e6f23b

Browse files
committed
Remove unused code
1 parent 6ace008 commit 6e6f23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/core/src/main/java/org/openscience/cdk/atomtype/CDKAtomTypeMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ private IAtomType perceiveLithium(IAtomContainer atomContainer, IAtom atom) thro
14301430
IAtomType type = getAtomType("Li.neutral");
14311431
if (isAcceptable(atom, atomContainer, type)) return type;
14321432
}
1433-
if (atom.getFormalCharge() == CDKConstants.UNSET || atom.getFormalCharge() == +1) {
1433+
if (atom.getFormalCharge() == +1) {
14341434
IAtomType type = getAtomType("Li.plus");
14351435
if (isAcceptable(atom, atomContainer, type)) return type;
14361436
}

0 commit comments

Comments
 (0)