Hi,

In writing a couple of bad code code I found that the the existing code would 
NPE when doing switch of a TdpuCode of null. In order to get around this I add 
a new enum of UNKNOWN and now have valueOF return that instead of null if the 
tpdu code is not in the enum map. Anyone think this is not the right approach?

Thanks,
Justin

Reply via email to