}
} else {
boolean verseAlreadyContained = false;
Syl newSyl = new Syl();
newSyl.getContent().add(0, newString);
Verse verse = new Verse();
for (Object contentElement : getNote()
.getDamagesAndSylsAndCorrs()) {
if (contentElement instanceof Verse) {
verse = ((Verse) contentElement);
verseAlreadyContained = true;
break;
}
}
if (!verseAlreadyContained) {
getNote().getDamagesAndSylsAndCorrs().add(verse);
}
verse.getSyls().clear();
verse.getSyls().add(newSyl);
}
}