Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4244

ContentFilterHelper optimisation

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.2, 3.5
    • None
    • None
    • None

      ContentFilterHelper.saxMatchingContents

                  boolean orphan = isOrphan(content);
                  if (!maskOrphan || (maskOrphan && !orphan))
                  {
      

      should be

                  if (!maskOrphan || (maskOrphan && !isOrphan(content)))
                  {
      

      to avoid a useless isOrphan call

          [CMS-4244] ContentFilterHelper optimisation

          Should be

          if (!maskOrphan || !isOrphan(content))
          {
          

          to avoid unnecessary test too.

          Nicolas Gavalda (Inactive) added a comment - Should be if (!maskOrphan || !isOrphan(content)) { to avoid unnecessary test too.

            Unassigned Unassigned
            raphael Raphaƫl Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: