Interesting solution. A more tools-driven approach could be using Annotations as IntelliJ IDEA does: http://www.jetbrains.com/idea/training/demos/i18n.html
Interesting solution. A more tools-driven approach could be using Annotations as IntelliJ IDEA does: http://www.jetbrains.com/idea/training/demos/i18n.html
worth applying, compiler time check is much better than looking at NullPointer or empty string on runtime.