- Set<String> knownPostReplies = new HashSet<String>();
- int replyCounter = 0;
- while (true) {
- String knownReplyId = configuration
- .getStringValue("KnownReplies/" + replyCounter++ + "/ID")
- .getValue(null);
- if (knownReplyId == null) {
- break;
- }
- knownPostReplies.add(knownReplyId);
- }
- return knownPostReplies;