Skip to content

Commit

Permalink
commented unused code
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 839827b commit f39566c
Showing 1 changed file with 12 additions and 12 deletions.
Expand Up @@ -109,18 +109,18 @@ public boolean matches(IBond targetBond) {
// }
//
// return false;
private boolean isAtomSymbolsMatch(IBond targetBond) {
IAtom qAtom1 = queryBond.getAtom(0);
IAtom qAtom2 = queryBond.getAtom(1);
IAtom tAtom1 = targetBond.getAtom(0);
IAtom tAtom2 = targetBond.getAtom(1);
if (qAtom1.getSymbol().equals(tAtom1.getSymbol()) && qAtom2.getSymbol().equals(tAtom2.getSymbol())) {
return true;
} else if (qAtom1.getSymbol().equals(tAtom2.getSymbol()) && qAtom2.getSymbol().equals(tAtom1.getSymbol())) {
return true;
}
return false;
}
// private boolean isAtomSymbolsMatch(IBond targetBond) {
// IAtom qAtom1 = queryBond.getAtom(0);
// IAtom qAtom2 = queryBond.getAtom(1);
// IAtom tAtom1 = targetBond.getAtom(0);
// IAtom tAtom2 = targetBond.getAtom(1);
// if (qAtom1.getSymbol().equals(tAtom1.getSymbol()) && qAtom2.getSymbol().equals(tAtom2.getSymbol())) {
// return true;
// } else if (qAtom1.getSymbol().equals(tAtom2.getSymbol()) && qAtom2.getSymbol().equals(tAtom1.getSymbol())) {
// return true;
// }
// return false;
// }

/**
*
Expand Down

0 comments on commit f39566c

Please sign in to comment.