Why deprecated?

Mark S. Miller markm@caplet.com
Thu, 14 Jan 1999 02:27:20 -0800


    /**
     * Produce a perpetual SturdyRef for an object.
     *
     * @param obj The object for which a SturdyRef is desired
     *
     * @return A new SturdyRef for the indicated object
     *
     * @deprecated Please provide your SturdyRefs with expiration dates.
     */
    public SturdyRef makeSturdyRef(Object obj) {
        return makeSturdyRef(obj, new Date(Long.MAX_VALUE));
    }

Why is the one-arg makeSturdyRef (that makes a non-expiring one) deprecated?