Skip to content

Commit

Permalink
fix: Importer only return false when a Java project is imported by ot…
Browse files Browse the repository at this point in the history
…her importers before (#1422)

Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored Sep 26, 2023
1 parent 14310ac commit 5fad292
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ public boolean applies(IProgressMonitor monitor) throws OperationCanceledExcepti
IProject project = ProjectUtils.getProjectFromUri(directory.toUri().toString());
// skip this importer if any of the project in workspace is already
// imported by other importers.
if (project != null && !Utils.isGradleBuildServerProject(project)) {
if (project != null && (!Utils.isGradleBuildServerProject(project)
&& ProjectUtils.isJavaProject(project))) {
return false;
}
}
Expand Down

0 comments on commit 5fad292

Please sign in to comment.