I can guarantee that this method does not get called with something else than those 4 values. While I agree that adding default case in there might be better practice, it wouldn't fix my deadlock problem (except if I missed something really big there).
And even if a different value was passed, it should just return null, exiting the switch clause, no?
Main Topics
Browse All Topics





by: informaniacPosted on 2008-12-13 at 10:36:05ID: 23164905
Try writing a default condition in the switch clause.