Skip to content

Commit ac75d82

Browse files
committed
Fix navigate to repo method for Gradle project
1 parent bf18a1b commit ac75d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/data/GenAotQueryMethodImplProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public boolean visit(MethodDeclaration node) {
149149
private List<LocationLink> findInSourceFolder(IJavaProject project, Path relativeGenSourcePath, String genRepoFqn, GoToImplParams params) {
150150
for (File f : IClasspathUtil.getSourceFolders(project.getClasspath()).collect(Collectors.toSet())) {
151151
Path genRepoSourcePath = f.toPath().resolve(relativeGenSourcePath);
152-
if (Files.exists(relativeGenSourcePath)) {
152+
if (Files.exists(genRepoSourcePath)) {
153153
return getLocationInGenFile(project, genRepoSourcePath, genRepoFqn, params);
154154
}
155155
}

0 commit comments

Comments
 (0)