[jbosstools-issues] [JBoss JIRA] (JBIDE-10570) Improve formatting of generated classes

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Fri Feb 10 07:42:48 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-10570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665604#comment-12665604 ] 

Max Rydahl Andersen commented on JBIDE-10570:
---------------------------------------------

which of these are problematic when source is formatted automatically ?
                
> Improve formatting of generated classes
> ---------------------------------------
>
>                 Key: JBIDE-10570
>                 URL: https://issues.jboss.org/browse/JBIDE-10570
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: hibernate
>    Affects Versions: 3.3.0.M5
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.3.0.Beta1
>
>
> This is related to hibernate-tools core.
> Bad things which I have found:
> 1. @Table annotation - closing bracket on new line
> 2. @ManyToOne has no intend on the left
> 3. Class fields have 5 spaces indent on the left
> 4. Fields assignments in constructor have 3 spaces indentation
> 5. No empty line between constructors with arguments and 2 empty lines after default constructor
> 6. Redundant empty line before @Column
> 7. Redundant 2 empty lines before class close brace
> 8. 5 spaces before @Id

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list