Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2578

Changed constructor signature JSONObject(JSONObject, String...)

    Details

      Description

      In Tapestry 5.4.2, the constructor public JSONObject(JSONObject source, String... propertyNames) changed to public JSONObject(JSONObject copyFrom, String[] names). That means that you can no longer use

      new JSONObject(source, "key1")

      . You can use

      new JSONObject(source, new String[]{"key1"})

      as a workaround.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jkemnade Jochen Kemnade
                Reporter:
                jkemnade Jochen Kemnade
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: