Skip to content

introduce diamond operator when instantiating exceptions #18

@rbonifacio

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions