Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-42

Various scope mappers use incorrect equalization

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None
    • None
    • All

    Description

      The following classes:

      org.apache.commons.chain.web.portlet.PortletApplicationScopeMap
      org.apache.commons.chain.web.portlet.PortletRequestScopeMap
      org.apache.commons.chain.web.portlet.PortletSessionScopeMap
      org.apache.commons.chain.web.servlet.ServletApplicationScopeMap
      org.apache.commons.chain.web.servlet.ServletRequestScopeMap
      org.apache.commons.chain.web.servlet.ServletSessionScopeMap

      use the "==" for comparison in their containsValue(Object) methods. This is in contrary to java.util.Map's specification which mandates that the containsValue(v1) method returns true if and only if there exists a value 'v' in the map such that v1.equals(v).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            niallp Niall Pemberton
            isaac_s Isaac Shabtay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment