I'm happy with the use of constants hear on the other hand since this has little to no effect on readability, and could lead to bugs since it's just a String comparison that wouldn't fail-fast if an error was introduced.