WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 62d4fd2

Browse files
committed
fixup
Signed-off-by: Shawn Hurley <[email protected]>
1 parent d0f8a93 commit 62d4fd2

File tree

56 files changed

+17
-96
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+17
-96
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ target/
1010
.classpath
1111
.project
1212
.settings/
13+
**/.plugins/

java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/symbol/CustomASTVisitor.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ public boolean visit(MethodInvocation node) {
181181
}
182182
}
183183
}
184+
logInfo("failed to get accurate info for MethodInvocation, falling back");
185+
// sometimes binding or declaring class cannot be found, usually due to errors
186+
// in source code. in that case, we will fallback and accept the match
187+
this.symbolMatches = true;
188+
return false;
184189
} catch (Exception e) {
185190
logInfo("KONVEYOR_LOG: error visiting MethodInvocation node: " + e);
186191
// this is so that we fallback and don't lose a match when we fail

java-analyzer-bundle.test/projects/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version

Lines changed: 0 additions & 1 deletion
This file was deleted.

java-analyzer-bundle.test/projects/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)