Skip to content

Commit

Permalink
Fixed checkstyle error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Aug 26, 2024
1 parent 20a8c5e commit 57d606c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class Activator extends AbstractUIPlugin {
/**
* The {@link ClassPropertyUpdaterRegistryListener}.
*/
private static final ClassPropertyUpdaterRegistryListener classPropertyUpdaterRegistryListener = new ClassPropertyUpdaterRegistryListener();
private static final ClassPropertyUpdaterRegistryListener CLASS_PROPERTY_UPDATER_REGISTERY_LISTENER = new ClassPropertyUpdaterRegistryListener();

/**
* The registered {@link IClassPropertyUpdater}.
Expand All @@ -72,17 +72,17 @@ public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
final IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.addListener(classPropertyUpdaterRegistryListener,
registry.addListener(CLASS_PROPERTY_UPDATER_REGISTERY_LISTENER,
ServicesConfiguratorRegistryListener.SERVICES_CONFIGURATOR_EXTENSION_POINT);
classPropertyUpdaterRegistryListener.parseInitialContributions();
CLASS_PROPERTY_UPDATER_REGISTERY_LISTENER.parseInitialContributions();
}

@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
final IExtensionRegistry registry = Platform.getExtensionRegistry();
registry.removeListener(classPropertyUpdaterRegistryListener);
registry.removeListener(CLASS_PROPERTY_UPDATER_REGISTERY_LISTENER);
}

/**
Expand Down

0 comments on commit 57d606c

Please sign in to comment.