/**
* 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?