final Triple triple = it.next();
Triple replacementTriple = null;
final NonLiteral subject = triple.getSubject();
NonLiteral subjectReplacement =
current2ReplacementMap.get(subject);
final Resource object = triple.getObject();
@SuppressWarnings("element-type-mismatch")
Resource objectReplacement = current2ReplacementMap.get(object);
if ((subjectReplacement != null) || (objectReplacement != null)) {
it.remove();
if (subjectReplacement == null) {
subjectReplacement = subject;