mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
root is expected to be already normalized
GitOrigin-RevId: 97b75d0ec1e11bf37e3de1d191f1cd6bb5463be5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
80cad407f0
commit
30d167776f
@@ -182,7 +182,7 @@ public final class ModuleBuildTarget extends JVMModuleBuildTarget<JavaSourceRoot
|
||||
|
||||
List<JavaSourceRootDescriptor> roots = projectDescriptor.getBuildRootIndex().getTargetRoots(this, null);
|
||||
for (JavaSourceRootDescriptor root : roots) {
|
||||
String path = relativizer.toRelative(root.rootFile.toString());
|
||||
String path = relativizer.toRelative(root.rootFile);
|
||||
if (logBuilder != null) {
|
||||
logBuilder.append(path).append('\n');
|
||||
}
|
||||
@@ -270,7 +270,7 @@ public final class ModuleBuildTarget extends JVMModuleBuildTarget<JavaSourceRoot
|
||||
|
||||
Collection<Path> roots = enumerator.classes().getPaths();
|
||||
for (Path file : roots) {
|
||||
String path = relativizer.toRelative(file.toAbsolutePath().normalize().toString());
|
||||
String path = relativizer.toRelative(file);
|
||||
getContentHash(file, hash);
|
||||
if (logBuilder != null) {
|
||||
logBuilder.append(path);
|
||||
|
||||
Reference in New Issue
Block a user