Skip to content

Commit

Permalink
GRECLIPSE-1396 Initial fix is broken as declaring class for Parameter…
Browse files Browse the repository at this point in the history
… is null now. Changed for origin type.
  • Loading branch information
DenisMurashev committed Sep 29, 2014
1 parent add4b89 commit 3e78190
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private TypeConfidence checkParameters(Parameter[] params, List<ClassNode> argum
return TypeConfidence.LOOSELY_INFERRED;
}
for (int i = 0; i < arguments.size(); i++) {
if (!arguments.get(i).equals(params[i + 1].getDeclaringClass())) {
if (!arguments.get(i).equals(params[i + 1].getOriginType())) {
return TypeConfidence.LOOSELY_INFERRED;
}
}
Expand Down

0 comments on commit 3e78190

Please sign in to comment.