Skip to content

Commit a93ed2d

Browse files
committed
fix compile
1 parent ca97f46 commit a93ed2d

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

csharp-impl/src/main/java/consulo/csharp/impl/libraryAnalyzer/DotNetLibraryAnalyzerComponent.java

+19-22
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package consulo.csharp.impl.libraryAnalyzer;
1818

19-
import consulo.application.ApplicationManager;
2019
import consulo.application.eap.EarlyAccessProgramDescriptor;
2120
import consulo.application.eap.EarlyAccessProgramManager;
2221
import consulo.component.messagebus.MessageBusConnection;
@@ -28,16 +27,14 @@
2827
import consulo.language.util.ModuleUtilCore;
2928
import consulo.module.Module;
3029
import consulo.module.ModuleManager;
31-
import consulo.module.extension.ModuleExtension;
32-
import consulo.module.extension.event.ModuleExtensionChangeListener;
3330
import consulo.project.Project;
3431
import consulo.project.event.DumbModeListener;
3532
import consulo.util.collection.MultiMap;
3633
import consulo.util.lang.StringUtil;
34+
import jakarta.annotation.Nonnull;
3735
import jakarta.inject.Inject;
3836
import jakarta.inject.Singleton;
3937

40-
import jakarta.annotation.Nonnull;
4138
import java.io.File;
4239
import java.io.IOException;
4340
import java.util.Collection;
@@ -120,24 +117,24 @@ public void enteredDumbMode()
120117
}
121118
});
122119

123-
connect.subscribe(ModuleExtensionChangeListener.class, new ModuleExtensionChangeListener()
124-
{
125-
@Override
126-
public void beforeExtensionChanged(@Nonnull ModuleExtension<?> moduleExtension, @Nonnull final ModuleExtension<?> moduleExtension2)
127-
{
128-
if(moduleExtension2 instanceof DotNetSimpleModuleExtension && moduleExtension2.isEnabled())
129-
{
130-
ApplicationManager.getApplication().invokeLater(new Runnable()
131-
{
132-
@Override
133-
public void run()
134-
{
135-
runAnalyzerFor((DotNetSimpleModuleExtension) moduleExtension2);
136-
}
137-
});
138-
}
139-
}
140-
});
120+
// connect.subscribe(ModuleExtensionChangeListener.class, new ModuleExtensionChangeListener()
121+
// {
122+
// @Override
123+
// public void beforeExtensionChanged(@Nonnull ModuleExtension<?> moduleExtension, @Nonnull final ModuleExtension<?> moduleExtension2)
124+
// {
125+
// if(moduleExtension2 instanceof DotNetSimpleModuleExtension && moduleExtension2.isEnabled())
126+
// {
127+
// ApplicationManager.getApplication().invokeLater(new Runnable()
128+
// {
129+
// @Override
130+
// public void run()
131+
// {
132+
// runAnalyzerFor((DotNetSimpleModuleExtension) moduleExtension2);
133+
// }
134+
// });
135+
// }
136+
// }
137+
// });
141138

142139
}
143140

0 commit comments

Comments
 (0)