For some reason, the transformation involving diamond operators is wrongly making the following substitution:
public Relationship next() {
-
throw new UnsupportedOperationException();
-
throw new UnsupportedOperationException<>();
}
That is, it removes the line starting with "-" and introduces the line starting with a "+". This transformation does not make sense.