Skip to content

introduce diamond operator when instantiating exceptions #18

Description

@rbonifacio

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions