Skip to content

Conversation

@izeye
Copy link
Contributor

@izeye izeye commented Oct 2, 2017

This PR removes explicit type arguments which can be inferred.

@wilkinsona
Copy link
Member

Thanks, @izeye. Out of interest, how did you find these? It'd be nice to rely on inference where possible in 1.5.x as well and cherry picking this back might not be straightforward.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 2, 2017
@izeye
Copy link
Contributor Author

izeye commented Oct 2, 2017

@wilkinsona I just filtered them using \.<[^/a-z] regex first and then checked them manually 😅

@wilkinsona
Copy link
Member

wilkinsona commented Oct 24, 2017

The equivalent changes don't work well on 1.5.x, I think due to different type inferencing in javac when it's targeting 1.6-compatible byte code. Let's just make these changes in master.

@wilkinsona wilkinsona added type: task A general task priority: normal and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 24, 2017
@wilkinsona wilkinsona self-assigned this Oct 24, 2017
wilkinsona pushed a commit that referenced this pull request Oct 24, 2017
wilkinsona added a commit that referenced this pull request Oct 24, 2017
* gh-10494:
  Polish “Remove explicit type arguments”
  Remove explicit type arguments
@wilkinsona
Copy link
Member

Thanks once again, @izeye. This change is now in master. Just FYI, I dropped the changes to the JOOQ-generated source as they'll get clobbered the next time the source is regenerated.

@wilkinsona wilkinsona added this to the 2.0.0.M6 milestone Oct 24, 2017
@izeye izeye deleted the remove-type-arguments branch October 24, 2017 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants