Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce diamond operator when instantiating exceptions #18

Open
rbonifacio opened this issue Jun 5, 2017 · 1 comment
Open

introduce diamond operator when instantiating exceptions #18

rbonifacio opened this issue Jun 5, 2017 · 1 comment
Assignees
Labels

Comments

@rbonifacio
Copy link
Contributor

rbonifacio commented Jun 5, 2017

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.

@rbonifacio rbonifacio added the bug label Jun 5, 2017
@rbonifacio rbonifacio self-assigned this Jun 5, 2017
@desmorto
Copy link
Contributor

issue solved with last update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants