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

Property.setValue(Node) explicitly checks for NodeImpl

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • jackrabbit-core
    • None
    • that's neither a bug nor is it a major issue

    Description

      The implementation of Propert.setValue(Node) explicitly checks if the argument is a NodeImpl:

      if (target instanceof NodeImpl) {
      [...]
      } else {
      String msg = "incompatible Node object: " + target;
      log.debug(msg);
      throw new RepositoryException(msg);
      }

      This is not very convenient for applications that decorate the jcr objects.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: