Bukkit/CraftBukkit — comment on commit 0cffd7f7b04f0e045d4184cfc259a81004b97b51
File:  line 0
By FibreFoX:

sry @CelticMinstrel i disagree with you, look at the docs:

public final String name()
"Returns the name of this enum constant, exactly as declared in its enum declaration. Most programmers should use the toString() method in preference to this one, as the toString method may return a more user-friendly name. This method is designed primarily for use in specialized situations where correctness depends on getting the exact name, which will not vary from release to release. "

first of all: its final, so you can't overwrite it
second: if you have to match the same case you have to "know" if its uppercase or downcase ... so it DOES a different

btw: this stuff would need a nice re-naming ... what the heck does painting.e or painting.b ... :)