[jira] [Commented] (TAP5-2578) Changed constructor signature JSONObject(JSONObject, String...)

2017-04-19 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974258#comment-15974258
 ] 

Hudson commented on TAP5-2578:
--

FAILURE: Integrated in Jenkins build tapestry-trunk-freestyle #1630 (See 
[https://builds.apache.org/job/tapestry-trunk-freestyle/1630/])
TAP5-2578: restore constructor signature from before the tapestry-json 
(jkemnade: rev 006390ddf96aa4a7473e23e94105091b3bd60f18)
* (edit) tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java


> 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
>Assignee: Jochen Kemnade
>  Labels: regression
> Fix For: 5.5.0, 5.4.3
>
>
> 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)


[jira] [Commented] (TAP5-2578) Changed constructor signature JSONObject(JSONObject, String...)

2017-04-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974252#comment-15974252
 ] 

ASF subversion and git services commented on TAP5-2578:
---

Commit a3bc8aac780fbc42d4e9eb1964cec98747f5b583 in tapestry-5's branch 
refs/heads/5.4.x from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=a3bc8aa ]

TAP5-2578: restore constructor signature from before the tapestry-json
rewrite


> 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)


[jira] [Commented] (TAP5-2578) Changed constructor signature JSONObject(JSONObject, String...)

2017-04-19 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974251#comment-15974251
 ] 

ASF subversion and git services commented on TAP5-2578:
---

Commit 006390ddf96aa4a7473e23e94105091b3bd60f18 in tapestry-5's branch 
refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=006390d ]

TAP5-2578: restore constructor signature from before the tapestry-json
rewrite


> 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)