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

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

            kyle.miho Kyle Miho
            james.hinkey James Hinkey (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            James Hinkey James Hinkey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 25 weeks, 2 days ago

              Packages

                Version Package
                7.0.0 DXP FP89
                7.0.10.13 DXP SP13
                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
                7.4.13 DXP GA1
                Master