Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73791 Source formatting changes to Adaptive Media
  3. LPS-74584

Remove allForFileEntry and allForVersion method because they are the same as forFileEntry and forFileVersion

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      01_The Phamton, 02_Superman, 03_Batman

      Description

      AMImageQueryBuilder had the following methods in the API:

      public InitialStep allForFileEntry(FileEntry fileEntry);

      public InitialStep allForVersion(FileVersion fileVersion);

      public InitialStep forFileEntry(FileEntry fileEntry);

      public InitialStep forVersion(FileVersion fileVersion);

      However they are duplicate and we should keep only one, so we decided to keep. 

      public InitialStep forFileEntry(FileEntry fileEntry);

      public InitialStep forVersion(FileVersion fileVersion);

       

      Besides this, for consistency reasons, we are renaming the method forVersion by forFileVersion.

        Attachments

          Activity

            People

            • Assignee:
              sergio.gonzalez Sergio Gonzalez (Inactive)
              Reporter:
              sergio.gonzalez Sergio Gonzalez (Inactive)
              Recent user:
              Sergio Gonzalez (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 10 weeks, 6 days ago

                Packages

                Version Package