mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assert no recursive conflict resolution
This commit is contained in:
+5
-6
@@ -73,14 +73,13 @@ public class JavaMethodsConflictResolver implements PsiConflictResolver{
|
||||
|
||||
@Override
|
||||
public final CandidateInfo resolveConflict(@NotNull final List<CandidateInfo> conflicts){
|
||||
/*
|
||||
//non-default policies
|
||||
final MethodCandidateInfo.CurrentCandidateProperties properties = MethodCandidateInfo.getCurrentMethod(myArgumentsList);
|
||||
if (properties != null) {
|
||||
if (properties != null && properties.isApplicabilityCheck()) {
|
||||
final PsiMethod method = properties.getMethod();
|
||||
LOG.error("Recursive conflict resolution for:" + method + "; " + myArgumentsList.getText() + "; file="
|
||||
+ (method == null ? "<unknown>" : method.getContainingFile()));
|
||||
}*/
|
||||
LOG.error("Recursive conflict resolution for:" + method + "; " +
|
||||
myArgumentsList.getText() + "; " +
|
||||
"file=" + (method == null ? "<unknown>" : method.getContainingFile()));
|
||||
}
|
||||
return MethodCandidateInfo.ourOverloadGuard.doPreventingRecursion(myArgumentsList, true, new Computable<CandidateInfo>() {
|
||||
@Override
|
||||
public CandidateInfo compute() {
|
||||
|
||||
Reference in New Issue
Block a user