avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject [(Quick) VOTE] ContextManager.assumeOwnership
Date Fri, 06 Sep 2002 15:28:28 GMT
Realized that I made the method public by mistake.

     * Method to assume ownership of one of the managers the
     * <code>ContextManager</code> created.  Ownership means that the
     * <code>ContextManager</code> is responsible for destroying the
     * manager when the <code>ContextManager</code> is destroyed.
>>>  * FIXME: Should this really be public?  Also, we should throw a
>>>  *        NullPointerException instead.
     * @param object  The object being claimed
     * @throws IllegalArgumentException if the object is null.
    public void assumeOwnership( Object o )

Ooops. Not supposed to be public - supposed to be private.

Do we just change it (any code using it deserves to get broken)
or leave it?

+1 for changing access modifier to private. 


To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message