Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5462

Weird comments in hibernate5 QS classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 7.1.0.DR2
    • 7.1.0.DR1
    • Quickstarts
    • None

    Description

      Please use unified style of comments at the beginning of the classes. Current comments can be found below. I would also suggest to remove the link to http://www.cdi-spec.org/faq/#accordion6 from MemberController.java comment.

      Member.java:

      /*The Model uses JPA Entity as well as Hibernate Validators
       *
       */
      

      MemberController.java:

      // The @Model stereotype is a convenience mechanism to make this a request-scoped bean that has an
      // EL name
      // Read more about the @Model stereotype in this FAQ:
      // http://www.cdi-spec.org/faq/#accordion6
      

      MemberProducer.java:

      /**
       * @author Madhumita Sadhukhan
       */
      

      MemberRepository.java:
      without comment

      MemberRegistration.java:

      // The @Stateless annotation eliminates the need for manual transaction demarcation
      

      Resources.java:

      /**
       * This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans
       *
       * <p>
       * Example injection on a managed bean field:
       * </p>
       *
       * <pre>
       * &#064;Inject
       * private EntityManager em;
       * </pre>
       */
      

      Attachments

        Activity

          People

            sgilda_jira Sande Gilda (Inactive)
            nziakova@redhat.com Nikoleta Ziakova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: