http://www.intellij.net/tracker/idea/viewSCR?publicId=3892
This has been fixed in 649 so for now we'll have to tolerate the little 
red block :)

Pepijn Van Eeckhoudt

Ross L. Owen wrote:
> When using a switch statement, I get this error.  I am still able to compile though. 
> Here is the code:
> 
>       /**
>        * get the event date - this is based on the type of event detail
>        * @param type - the type of the event
>        * @return the name of the event
>        */
>       private String getEventDate(IOCTEvent event, int type)
>       {
>               String retVal = "";
>               try
>               {
>                       switch (type)
>                       {
>                               case IOCTEDSolicitation.typeID:
>                               case IOCTEDRecipientReminder.typeID:
>                               case IOCTEDManagerNotification.typeID:
>                               case IOCTEDManagerActionReminder.typeID:
>                               case IOCTEDRecipientPurge.typeID:
>                               case IOCTEDDefaultOrder.typeID:
>                               case IOCTEDAward.typeID:
>                                       retVal = 
>this.eventFormat.format(event.getEventDate());
>                                       break;
>                       }
>               }
>               catch (Exception ex)
>               {
>                       this.addError("getEventDate:" + ex.toString());
>                       ClientLinkUtil.writeln("getEventDate:" + ex.toString());
>               }
>               return retVal;
>       }
> 

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to