Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-476

Remove recently added getJCRPath()/getQPath() from NamespaceResolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.1
    • None
    • None

    Description

      issue JCR-473 added 2 new methods to NamespaceResolver:

      public Path getQPath(String jcrPath) throws MalformedPathException;
      public String getJCRPath(Path qPath) throws NoPrefixDeclaredException;

      which do not belong here, since the NamespaceResolver has nothing to do with paths. suggest to remove them.

      further is the naming of the QName related methods a bit vague. suggest to rename them to:

      QName parseName(String jcrName)
      String formatName(QName qName)

      (although they do not belong here either, but helps to leverage evt. caching namespace resolvers).

      Attachments

        1. jackrabbit.422765.patch
          33 kB
          Tobias Bocanegra

        Activity

          People

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: