Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      None

      Description

      i propose to deprecate the Item#refresh(boolean) method.

      it's difficult to implement (e.g. with a MVCC-based backend)
      and i can't come up with a legitimate use case requiring
      Item.refresh(boolean) instead of Session#refresh(boolean).

      its cousin Item#save() has already been deprecated as of JCR 2.0

        Activity

        Hide
        Peeter Piegaze added a comment -

        +1 to this.

        This seems uncontroversial so unless someone objects, I will make the change

        Show
        Peeter Piegaze added a comment - +1 to this. This seems uncontroversial so unless someone objects, I will make the change
        Hide
        Peeter Piegaze added a comment -

        Fixed as suggested.

        Show
        Peeter Piegaze added a comment - Fixed as suggested.

          People

          • Assignee:
            Unassigned
            Reporter:
            stefan_guggisberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: