[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-dev
Subject:    [jira] [Updated] (TAP5-2578) Changed constructor signature JSONObject(JSONObject, String...)
From:       "Jochen Kemnade (JIRA)" <jira () apache ! org>
Date:       2017-04-19 7:34:41
Message-ID: JIRA.13065006.1492587166000.315274.1492587281587 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/TAP5-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Jochen Kemnade updated TAP5-2578:
---------------------------------
    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 {code}new \
JSONObject(source, "key1"){code}. You can use {code}new JSONObject(source, new \
String[]{"key1"}){code} as a workaround.  (was: 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 {{JSONObject(source, new \
String[]{"key1"})}} as a workaround.)

> Changed constructor signature JSONObject(JSONObject, String...)
> ---------------------------------------------------------------
> 
> Key: TAP5-2578
> URL: https://issues.apache.org/jira/browse/TAP5-2578
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-json
> Affects Versions: 5.4.2
> Reporter: Jochen Kemnade
> Labels: regression
> 
> 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 {code}new JSONObject(source, \
> "key1"){code}. You can use {code}new JSONObject(source, new String[]{"key1"}){code} \
> as a workaround.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic