Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to navigate signatures when package names start with a single prefix #104

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

taeyeon-Kim
Copy link
Contributor

resolved: #103

@taeyeon-Kim taeyeon-Kim self-assigned this Nov 17, 2023
@taeyeon-Kim taeyeon-Kim requested review from junoyoon and a team as code owners November 17, 2023 16:33
@@ -1,6 +1,6 @@
#!/bin/bash

./gradlew build -p scavenger-agent-java -x test
./gradlew build -p scavenger-agent-java -x test -x integrationTest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

integrationTest was slowing down the build, so it was excluded.

Copy link

Scavenger Test Results

159 files  159 suites   1m 25s ⏱️
266 tests 254 ✔️ 12 💤 0
284 runs  272 ✔️ 12 💤 0

Results for commit 1cf1142.

return true;
}

return querySignature.substring(signature.length).startsWith(".");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this line means?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package must be followed by a class, so check for a . as well.

return false;
}

if (querySignature === signature) {
Copy link
Contributor Author

@taeyeon-Kim taeyeon-Kim Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This condition is true when searching for a class.

@taeyeon-Kim taeyeon-Kim merged commit 6dacf43 into develop Nov 21, 2023
5 checks passed
@taeyeon-Kim taeyeon-Kim deleted the feature/fix-signature-navigation branch November 21, 2023 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search can't find classes if package name contains numbers
3 participants