[ 
https://issues.apache.org/jira/browse/NETBEANS-5536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318842#comment-17318842
 ] 

Don commented on NETBEANS-5536:
-------------------------------

All formatting, like removal of extraneous spaces and indenting, works when the 
"default:" statement is removed (commented out). It doesn't do it, and gives no 
warning or error message, when the statement is there. There is no syntax error 
in any of the code. It save and compiles fine, with or without the "default:"; 
just doesn't format the file on request or on save. 

PS: I'm not sure adding the requested two attachments has worked here either. I 
don't see them here.

> JAVA SOURCE FILE WON'T FORMAT PROPERLY WITH 'default:' IN SWITCH
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-5536
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5536
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Formatting & Indentation
>    Affects Versions: 12.3
>            Reporter: Don
>            Priority: Minor
>
> If a Java 'switch' statement includes a 'default:' case, the file will not 
> format properly, or at all, when requested.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to