Skip to main content

Timeline for Saving enum value using name()

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Mar 25, 2014 at 19:50 vote accept radekEm
Mar 25, 2014 at 19:47 comment added rolfl @guitar_freak - technically the problem is with the change in the naming of the Enums. It is one of those things that you just have to get right the first time, and changing them is a royal PITA. Try to avoid it (and now you know why)
Mar 25, 2014 at 19:44 comment added radekEm Yeah, this is how I solved this problem, but I hoped I can avoid creating a new static logic - 've got tens of similar enums, and I like short code very much :D But I find your approach perfectly correct (sadly :D )
Mar 25, 2014 at 16:26 history answered rolfl CC BY-SA 3.0