Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-558

BeanAdapter should have a putAll method to allow multiple property set in one method call...especially useful when setting properties from a JSON string

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3
    • Component/s: core-beans
    • Labels:
      None

      Description

      API:

      public void putAll(Map<String, ?> values)

      public boolean putAll(Map<String, ?> values, boolean ignoreErrors)

      where ignore errors indicates that any errors/exceptions thrown should be caught. If any are thrown or errors occur, true is returned, otherwise false.

      I'll submit a patch if you accept this improvement.

        Attachments

        1. bean.patch
          3 kB
          Roger Lee Whitcomb

          Activity

            People

            • Assignee:
              rwhitcomb Roger Lee Whitcomb
              Reporter:
              aappddeevv Appddevvv
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: