If I have a rarely used collection in some class which may be instantiated many times, I may sometimes resort to the following \"idiom\" in order to save unnecessary object creations:
In practice, is it better to return an empty list like this: return Collections.emptyList(); Or like this:
I have an ant build that concatenates my javascript into one file and then compresses it. The problem is that Visual Studio\'s default encoding attaches a BOM to every file. How do I configure ant to