Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove call to deprecated for removal ThreadGroup.setDaemon() #519

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public class EventAdminImpl implements EventAdmin {
void start() {
log.open();
ThreadGroup eventGroup = new ThreadGroup("Equinox Event Admin"); //$NON-NLS-1$
eventGroup.setDaemon(true);
eventManager = new EventManager(EventAdminMsg.EVENT_ASYNC_THREAD_NAME, eventGroup);
handlers.open();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ protected UserAdminEventProducer(ServiceReference userAdmin, BundleContext conte
this.userAdmin = userAdmin;
this.log = log;
ThreadGroup eventGroup = new ThreadGroup("Equinox User Admin"); //$NON-NLS-1$
eventGroup.setDaemon(true);
eventManager = new EventManager("UserAdmin Event Dispatcher", eventGroup); //$NON-NLS-1$
listeners = new CopyOnWriteIdentityMap<>();

Expand Down Expand Up @@ -76,17 +75,17 @@ protected void generateEvent(int type, Role role) {
*
* <p>
* This method is called before a service which matched the search parameters of
* the <code>ServiceTracker</code> object is added to it. This method should return
* the service object to be tracked for this <code>ServiceReference</code> object.
* The returned service object is stored in the <code>ServiceTracker</code> object
* and is available from the <code>getService</code> and <code>getServices</code>
* methods.
* the <code>ServiceTracker</code> object is added to it. This method should
* return the service object to be tracked for this
* <code>ServiceReference</code> object. The returned service object is stored
* in the <code>ServiceTracker</code> object and is available from the
* <code>getService</code> and <code>getServices</code> methods.
*
* @param reference Reference to service being added to the
* <code>ServiceTracker</code> object.
* @return The service object to be tracked for the <code>ServiceReference</code>
* object or <code>null</code> if the <code>ServiceReference</code> object
* should not be tracked.
* @return The service object to be tracked for the
* <code>ServiceReference</code> object or <code>null</code> if the
* <code>ServiceReference</code> object should not be tracked.
*/
@Override
public Object addingService(ServiceReference reference) {
Expand Down
Loading