eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
164 stars 130 forks source link

Simplify ConditionalExpression.resolveType() considering minimal compliance 1.8 #3089

Closed stephan-herrmann closed 2 weeks ago

stephan-herrmann commented 3 weeks ago

Now that ecj no longer supports compliance < 1.8, this method can be simplified a lot.

I came here when I tried to trigger ProblemReporter.conditionalArgumentsIncompatibleTypes() which looks like dead code by now.