File tree 1 file changed +1
-2
lines changed
bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,10 @@ public void notify(EventObject o) {
91
91
Tracing .debug (name + " Ignoring: " + o .toString ()); //$NON-NLS-1$
92
92
}
93
93
return ;
94
- } else if (o instanceof IProfileEvent && (((eventTypes & PROV_EVENT_IU ) == PROV_EVENT_IU ) || ((eventTypes & PROV_EVENT_PROFILE ) == PROV_EVENT_PROFILE ))) {
94
+ } else if (o instanceof IProfileEvent event && (((eventTypes & PROV_EVENT_IU ) == PROV_EVENT_IU ) || ((eventTypes & PROV_EVENT_PROFILE ) == PROV_EVENT_PROFILE ))) {
95
95
if (Tracing .DEBUG_EVENTS_CLIENT ) {
96
96
Tracing .debug (o .toString () + getReceiverString ());
97
97
}
98
- IProfileEvent event = (IProfileEvent ) o ;
99
98
if (event .getReason () == IProfileEvent .CHANGED ) {
100
99
profileChanged (event .getProfileId ());
101
100
} else if (event .getReason () == IProfileEvent .ADDED ) {
You can’t perform that action at this time.
0 commit comments