Am 15. März 2012 12:59 schrieb sebb <[email protected]>: > On 15 March 2012 11:26, <[email protected]> wrote: >> Author: simonetripodi >> Date: Thu Mar 15 11:26:25 2012 >> New Revision: 1300925 >> >> URL: http://svn.apache.org/viewvc?rev=1300925&view=rev >> Log: >> just incrementally built the hashcode in the constructor >> > > I wondered why you did not use the java.lang.String approach, but I > see the class is used in a HashMap so the hashCode will always be > needed. > Might be an idea to note this in the ctor? >
AccessibleObjectDescriptor is a nested private class of the package private AccessibleObjectRegistry. So users will never create AccessibleObjectDescriptors. The class comment says "Represents the key to looking up an AccessibleObject by reflection." Would be a bit redundant to add yet another comment to the constructor. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
