Skip to content

Commit

Permalink
recreated Java11 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thsa committed Dec 3, 2024
1 parent 695d2de commit 6b5bfa8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ private int[][][] determineBackbone() {
residueList.add(residueAtom);
while ((residueAtom = getNextResidue(residueAtom[ATOM_TYPE_C], atomUsed)) != null)
residueList.add(residueAtom);
while ((residueAtom = getPreviousResidue(residueList.getFirst()[ATOM_TYPE_N], atomUsed)) != null)
residueList.addFirst(residueAtom);
while ((residueAtom = getPreviousResidue(residueList.get(0)[ATOM_TYPE_N], atomUsed)) != null)
residueList.add(0, residueAtom);

fragmentList.add(residueList.toArray(new int[0][]));
residueList.clear();
Expand Down

0 comments on commit 6b5bfa8

Please sign in to comment.