You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2017/04/19 07:46:49 UTC

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

Repository: tapestry-5
Updated Branches:
  refs/heads/master 112014a51 -> 006390ddf


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


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/006390dd
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/006390dd
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/006390dd

Branch: refs/heads/master
Commit: 006390ddf96aa4a7473e23e94105091b3bd60f18
Parents: 112014a
Author: Jochen Kemnade <jk...@apache.org>
Authored: Wed Apr 19 09:45:54 2017 +0200
Committer: Jochen Kemnade <jk...@apache.org>
Committed: Wed Apr 19 09:45:54 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/tapestry5/json/JSONObject.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/006390dd/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
----------------------------------------------------------------------
diff --git a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
index 0073ad9..f5727fa 100644
--- a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
+++ b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONObject.java
@@ -171,7 +171,7 @@ public final class JSONObject extends JSONCollection {
      * @param names    The names of the fields to copy.
      * @throws RuntimeException On internal errors. Shouldn't happen.
      */
-    public JSONObject(JSONObject copyFrom, String[] names) {
+    public JSONObject(JSONObject copyFrom, String... names) {
         this();
         for (String name : names) {
             Object value = copyFrom.opt(name);