ions = new ArrayList<Ion>(1);
}
ionsMap.put(subType, ions);
}
if (neutralLossesCombinations != null) {
<BUG>for (ArrayList<NeutralLoss> losses : neutralLossesCombinations) {

ions.add(new PeptideFragmentIon(subType, faa, rewindMass - Atom.N.getMonoisotopicMass() - getLossesMass(losses), losses));
</BUG>
}

ions = new ArrayList<Ion>(1);
}
ionsMap.put(subType, ions);
}
if (neutralLossesCombinations != null) {
for (NeutralLossCombination losses : neutralLossesCombinations) {
ions.add(new PeptideFragmentIon(subType, faa, rewindMass - Atom.N.getMonoisotopicMass() - losses.getMass(), losses.getNeutralLossCombination()));
}
