Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-521

Fix the formatting of Forge-generated JPA entity

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.0.5.Final
    • None
    • Builtin Plugins
    • None

      An entity generated by Forge looks like this:

      package com.test.entity;
      // Some imports go here
      // below is the last import, and not only
      import java.lang.Override;@Entity public class Employee implements java.io.Serializable {

      It's ugly because the statements on the last line above should be on at least three (and at best four) separate lines:

      import java.lang.Override;

      @Entity
      public class Employee implements java.io.Serializable {

            ivan_stefanov Ivan St. Ivanov (Inactive)
            ivan_stefanov Ivan St. Ivanov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: