Hello all;

if the scr codebase (felix-trunk), I see that the
MultiplePrototypeRefPair.unsetServiceObject(ComponentContextImpl<S> key)
does this:

    @Override
    public T unsetServiceObject(ComponentContextImpl<S> key)
    {
        return instances.get(key);
    }

Is there a bug here ? shouldn't this method do something like:

    @Override
    public T unsetServiceObject(ComponentContextImpl<S> key)
    {
        return instances.remove(key);
    }


thanks;

best regards;
/Pierre

Reply via email to