Skip to content

Commit

Permalink
removed unwated checks
Browse files Browse the repository at this point in the history
Signed-off-by: Syed Asad Rahman <s9asad@gmail.com>
Signed-off-by: Rajarshi  Guha <rajarshi.guha@gmail.com>
  • Loading branch information
asad authored and rajarshi committed May 20, 2010
1 parent f39566c commit 41561a2
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -40,7 +40,6 @@
import org.openscience.cdk.interfaces.IAtomContainerSet;
import org.openscience.cdk.interfaces.IBond;
import org.openscience.cdk.interfaces.IMolecule;
import org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer;
import org.openscience.cdk.smsd.algorithm.cdk.CDKMCSHandler;
import org.openscience.cdk.smsd.algorithm.mcsplus.MCSPlusHandler;
import org.openscience.cdk.smsd.algorithm.single.SingleMappingHandler;
Expand Down Expand Up @@ -362,10 +361,6 @@ private void clearMaps() {
*
*/
private void init(MolHandler Reactant, MolHandler Product, boolean removeHydrogen) throws CDKException {
if (Product instanceof IQueryAtomContainer) {
throw new CDKException(
"The first IAtomContainer must not be an IQueryAtomContainer");
}
this.removeHydrogen = removeHydrogen;
this.rMol = new MolHandler(Reactant.getMolecule(), false, removeHydrogen);
this.pMol = new MolHandler(Product.getMolecule(), false, removeHydrogen);
Expand All @@ -388,10 +383,6 @@ private void init(MolHandler Reactant, MolHandler Product, boolean removeHydroge
@Override
@TestMethod("testInit_3args_1")
public void init(IMolecule Reactant, IMolecule Product, boolean removeHydrogen) throws CDKException {
if (Product instanceof IQueryAtomContainer) {
throw new CDKException(
"The first IAtomContainer must not be an IQueryAtomContainer");
}
this.removeHydrogen = removeHydrogen;
this.rMol = new MolHandler(Reactant, false, removeHydrogen);
this.pMol = new MolHandler(Product, false, removeHydrogen);
Expand All @@ -406,10 +397,6 @@ public void init(IMolecule Reactant, IMolecule Product, boolean removeHydrogen)
@Override
@TestMethod("testInit_3args_2")
public void init(IAtomContainer Reactant, IAtomContainer Product, boolean removeHydrogen) throws CDKException {
if (Product instanceof IQueryAtomContainer) {
throw new CDKException(
"The first IAtomContainer must not be an IQueryAtomContainer");
}
this.removeHydrogen = removeHydrogen;
this.rMol = new MolHandler(Reactant, false, removeHydrogen);
this.pMol = new MolHandler(Product, false, removeHydrogen);
Expand Down

0 comments on commit 41561a2

Please sign in to comment.