mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-59775 - IAE: DaemonListeners$MyProfileChangeListener.profileActivated
This commit is contained in:
@@ -23,7 +23,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public abstract class ProfileChangeAdapter {
|
||||
public void profileChanged(Profile profile){}
|
||||
public void profileActivated(@NotNull Profile oldProfile, Profile profile){}
|
||||
public void profileActivated(Profile oldProfile, Profile profile){}
|
||||
public void profilesInitialized() {}
|
||||
public void profilesShutdown(){}
|
||||
}
|
||||
|
||||
@@ -507,7 +507,7 @@ public class DaemonListeners implements Disposable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void profileActivated(@NotNull Profile oldProfile, Profile profile) {
|
||||
public void profileActivated(Profile oldProfile, Profile profile) {
|
||||
stopDaemonAndRestartAllFiles();
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ public class WholeFileLocalInspectionsPassFactory extends AbstractProjectCompone
|
||||
}
|
||||
|
||||
@Override
|
||||
public void profileActivated(@NotNull Profile oldProfile, Profile profile) {
|
||||
public void profileActivated(Profile oldProfile, Profile profile) {
|
||||
myFileTools.clear();
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ public class DomElementAnnotationsManagerImpl extends DomElementAnnotationsManag
|
||||
myProject = project;
|
||||
final ProfileChangeAdapter profileChangeAdapter = new ProfileChangeAdapter() {
|
||||
@Override
|
||||
public void profileActivated(@NotNull Profile oldProfile, Profile profile) {
|
||||
public void profileActivated(Profile oldProfile, Profile profile) {
|
||||
dropAnnotationsCache();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user