Merge branch 'pr-513'
This commit is contained in:
@@ -285,8 +285,9 @@ public final class MethodTypeResolution {
|
||||
} else if (second.isAbstract()) {
|
||||
return first; // first isn't abstract, second one is
|
||||
} else {
|
||||
throw new IllegalStateException("None of the maximally specific methods are abstract.\n"
|
||||
+ first.toString() + "\n" + second.toString());
|
||||
return null; // TODO: once shadowing and overriding methods is done, add exception back
|
||||
// throw new IllegalStateException("None of the maximally specific methods are abstract.\n"
|
||||
// + first.toString() + "\n" + second.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -97,4 +97,5 @@ Based on those metrics, rules like "GodClass" detection can be implemented more
|
||||
* [#505](https://github.com/pmd/pmd/pull/505): \[java] Followup on metrics - [Clément Fournier](https://github.com/oowekyala)
|
||||
* [#506](https://github.com/pmd/pmd/pull/506): \[java] Add reduction rules to type inference - [Bendegúz Nagy](https://github.com/WinterGrascph)
|
||||
* [#512](https://github.com/pmd/pmd/pull/512): \[java] Add incorporation to type inference - [Bendegúz Nagy](https://github.com/WinterGrascph)
|
||||
* [#513](https://github.com/pmd/pmd/pull/513): \[java] Fix for maximally specific method selection - [Bendegúz Nagy](https://github.com/WinterGrascph)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user