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

ServiceBuilder incorrectly generates code when method signature of method in base file contains generic type parameters

    Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed

      Description

      When method in base file looks like this:

      public List<? extends PersistedModel> getPersistedModel(long resourcePrimKey) {

      ServiceBuilder will generate the following based on this method:

      public List<PersistedModel> getPersistedModel(long resourcePrimKey) {

        Attachments

          Activity

            People

            Assignee:
            hugo.huijser Hugo Huijser
            Reporter:
            hugo.huijser Hugo Huijser
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 31 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP22
                7.0.0 DXP SP4
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master