In my previous post (Configurations & Enumerations), i provided a solution that eliminated the possibility to put a wrong key in compile-time and discover it in runtime.

My approach was conceptually right, but i did not know to use enumerations very well in Java (as it seemed later on). So, i now provide a new version of the program with a more stylish Enumeration class.