Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Ensure that the use of MailboxConstants.USER_NAMESPACE is not too blind. Some occurences may come from times when there was no alternative.
      Possible replacements for MailboxConstants.USER_NAMESPACE follow:
      (a) org.apache.james.mailbox.MailboxSession.getPersonalSpace()
      (b) if MailboxConstants.USER_NAMESPACE occurs in new MaiboxPath(MailboxConstants.USER_NAMESPACE, otherMailboxPath.getUser(), otherMailboxPath.getName() + ...) then new MaiboxPath(otherMailboxPath.getNamespace(), otherMailboxPath.getUser(), otherMailboxPath.getName() + ...) could be a better choice
      (c) if MailboxConstants.USER_NAMESPACE occurs in new MaiboxPath(MailboxConstants.USER_NAMESPACE, ..., somePathFromWireOrConfig) then MaiboxPath.parse() could be a better choice.

        Activity

          People

          • Assignee:
            Jochen Gazda
            Reporter:
            Jochen Gazda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development