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:
                brian.chan Brian Chan
                Reporter:
                james.hinkey James Hinkey
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
                Engineering Assignee:
                James Hinkey
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  31 weeks 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
                  Master