Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9487

CollectionHelper does no reuse constant SEPARATOR

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 11.0.0, 11.0.1, 11.0.2, 11.0.3, 12.0.0, 12.0.1, 12.0.2, 12.0.3, 13.0.0, 13.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      com.sun.identity.shared.datastruct.CollectionHelper defines

      private static final String SEPARATOR = "|";
      

      but does not always reuse it like

      public static String getServerMapAttr(Map map, String attrName) {
      ....
      int index = result.indexOf("|");
      
      public static Set<String> getServerMapAttrs(Map<String, Set<?>> map, String attrName) {
      ....
      int index = attr.indexOf("|");
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bthalmayr Bernhard Thalmayr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: