[workspace model] IJPL-345 Introduce ModuleTypeId for ModuleEntity and remove the old class with the same name

GitOrigin-RevId: ac34862b4287f024b694b4da918208f73585982d
This commit is contained in:
Mikhail Mazurkevich
2024-02-28 17:26:49 +04:00
committed by intellij-monorepo-bot
parent a1d4b59126
commit bdecd1aaef
47 changed files with 154 additions and 118 deletions

View File

@@ -19,5 +19,6 @@
<orderEntry type="module" module-name="intellij.platform.tests" exported="" scope="TEST" />
<orderEntry type="module" module-name="intellij.tools.ide.metrics.benchmark" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.testFramework" scope="TEST" />
<orderEntry type="module" module-name="intellij.java.impl" scope="TEST" />
</component>
</module>

View File

@@ -15,10 +15,11 @@
*/
package com.intellij;
import com.intellij.openapi.module.ModuleTypeId;
import com.intellij.testFramework.LightProjectDescriptor;
import org.jetbrains.annotations.NotNull;
import static com.intellij.workspaceModel.ide.legacyBridge.impl.java.JavaModuleTypeUtils.JAVA_MODULE_ENTITY_TYPE_ID_NAME;
public class BasicDefaultLightProjectDescriptor extends LightProjectDescriptor {
public BasicDefaultLightProjectDescriptor() {
@@ -26,8 +27,6 @@ public class BasicDefaultLightProjectDescriptor extends LightProjectDescriptor {
@Override
public @NotNull String getModuleTypeId() {
return ModuleTypeId.JAVA_MODULE;
return JAVA_MODULE_ENTITY_TYPE_ID_NAME;
}
}