Using the Switch Statement
(About.com) Now that JDK 7 has brought Strings to the switch statement it seems like a good time to have have a refresher of control flow statements. Here's a link to using switch statements when you have multiple options you want to choose from and some example
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1124 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1124]
updated 1124 (Focus on Java), inserted 4, updated 0, at 2012-05-30 19:44:27