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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.3
    • core-beans
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: