Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-106662

code tag is incorrectly used in *ModelImpl class descriptions

    Details

      Description

      Service Builder is generating ModelImpl classes that have incorrectly marked up code in the class description. 

      For example, CounterModelImpl's class description surrounds CounterModel with two end code tags (</code>):

      • This implementation and its corresponding interface </code>CounterModel</code> exist

      https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/counter/model/impl/CounterModelImpl.java#L45

       

      This was detected on generating Javadoc for the com.liferay.counter package. 

      Steps to Reproduce:

      1. Navigate to portal source root dir
      2. ant javadoc

      Warning reported:

      [javadoc] /opt/dev/projects/github/liferay-portal/portal-impl/src/com/liferay/counter/model/impl/CounterModelImpl.java:45: error: unexpected end tag: </code>
      [javadoc] * This implementation and its corresponding interface </code>CounterModel</code> exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link CounterImpl}.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.miho Kyle Miho
              Reporter:
              james.hinkey James Hinkey
              Participants of an Issue:
              Recent user:
              Kyle Miho
              Engineering Assignee:
              James Hinkey
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP89
                  7.0.X
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master