Repository: tapestry-5
Updated Branches:
  refs/heads/5.4.x 245857b51 -> a3bc8aac7


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/a3bc8aac
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/a3bc8aac
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/a3bc8aac

Branch: refs/heads/5.4.x
Commit: a3bc8aac780fbc42d4e9eb1964cec98747f5b583
Parents: 245857b
Author: Jochen Kemnade <[email protected]>
Authored: Wed Apr 19 09:45:54 2017 +0200
Committer: Jochen Kemnade <[email protected]>
Committed: Wed Apr 19 09:47:08 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/a3bc8aac/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);

Reply via email to