ClassLoader.getSystemResources
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Wed Aug 7 04:32:00 GMT 2002
Mark Wielaard wrote:
>Hi,
>
>On Wed, 2002-08-07 at 07:27, Bryce McKinlay wrote:
>
>
>>+ return Collections.enumeration(Collections.EMPTY_LIST);
>>
>>
>
>Note that we have the gnu.java.util.EmptyEnumeration class which
>prevents creating a new object.
>
Yes I deliberately didn't use that. This method should generally never
get called. Unless there is something that is really performance
critical I'd prefer to use standard collections classes.
regards
Bryce.
More information about the Java-patches
mailing list