Return-Path: X-Original-To: apmail-zest-commits-archive@minotaur.apache.org Delivered-To: apmail-zest-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6E7A180FF for ; Thu, 4 Jun 2015 03:38:00 +0000 (UTC) Received: (qmail 70256 invoked by uid 500); 4 Jun 2015 03:38:00 -0000 Delivered-To: apmail-zest-commits-archive@zest.apache.org Received: (qmail 70240 invoked by uid 500); 4 Jun 2015 03:38:00 -0000 Mailing-List: contact commits-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list commits@zest.apache.org Received: (qmail 70231 invoked by uid 99); 4 Jun 2015 03:38:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 03:38:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 66041DFF7B; Thu, 4 Jun 2015 03:38:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: niclas@apache.org To: commits@zest.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: zest-qi4j git commit: Constructor removed. Since it was outright wrong, and no one complains should mean that it is not used. Date: Thu, 4 Jun 2015 03:38:00 +0000 (UTC) Repository: zest-qi4j Updated Branches: refs/heads/ZEST-22_toEntity-toValue 6bce6f81a -> 7e4907ab8 Constructor removed. Since it was outright wrong, and no one complains should mean that it is not used. Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/7e4907ab Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/7e4907ab Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/7e4907ab Branch: refs/heads/ZEST-22_toEntity-toValue Commit: 7e4907ab8484ba2856db4b1ecd93665da468d451 Parents: 6bce6f8 Author: Niclas Hedhman Authored: Thu Jun 4 11:37:42 2015 +0800 Committer: Niclas Hedhman Committed: Thu Jun 4 11:37:42 2015 +0800 ---------------------------------------------------------------------- .../main/java/org/qi4j/api/value/ValueSerializer.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/7e4907ab/core/api/src/main/java/org/qi4j/api/value/ValueSerializer.java ---------------------------------------------------------------------- diff --git a/core/api/src/main/java/org/qi4j/api/value/ValueSerializer.java b/core/api/src/main/java/org/qi4j/api/value/ValueSerializer.java index 13a8831..7f22d70 100644 --- a/core/api/src/main/java/org/qi4j/api/value/ValueSerializer.java +++ b/core/api/src/main/java/org/qi4j/api/value/ValueSerializer.java @@ -181,17 +181,7 @@ public interface ValueSerializer */ public Options() { - options.put( INCLUDE_TYPE_INFO, "true" ); - } - - /** - * Create new ValueSerializer Options from given Map. - * @param options Options to copy in the new Options instance - */ - public Options( Map options ) - { - this(); - options.putAll( options ); + this.options.put( INCLUDE_TYPE_INFO, "true" ); } /** @@ -318,5 +308,4 @@ public interface ValueSerializer return new HashMap<>( options ); } } - }