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

Dmitry Geraskov (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 29 07:15:10 EST 2011


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