Skip to content

Commit

Permalink
Missed commit - simple variable naming and use typed list.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Feb 1, 2019
1 parent 7bd81f7 commit 409b8b0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -908,15 +908,15 @@ private void calcGroup025_026_028_029_031_032_034_035_043_044(int i) {

if (!fragment[i].equals("SsaaC") && !fragment[i].equals("SaaaC")) return;

IAtom ai = atomContainer.getAtom(i);
List ca = atomContainer.getConnectedAtomsList(atomContainer.getAtom(i));
IAtom atm = atomContainer.getAtom(i);
List<IAtom> nbors = atomContainer.getConnectedAtomsList(atomContainer.getAtom(i));

IAtom[] sameringatoms = new IAtom[2];
IAtom nonringatom = atomContainer.getBuilder().newInstance(IAtom.class);

int sameringatomscount = 0;
for (int j = 0; j <= ca.size() - 1; j++) {
if (inSameAromaticRing(atomContainer, ai, ((IAtom) ca.get(j)), rs)) {
for (int j = 0; j <= nbors.size() - 1; j++) {
if (inSameAromaticRing(atomContainer, atm, ((IAtom) nbors.get(j)), rs)) {
sameringatomscount++;
}

Expand Down

0 comments on commit 409b8b0

Please sign in to comment.