You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by ni...@apache.org on 2015/06/10 01:58:10 UTC

[12/14] zest-qi4j git commit: Constructor removed. Since it was outright wrong, and no one complains should mean that it is not used.

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/develop
Commit: 7e4907ab8484ba2856db4b1ecd93665da468d451
Parents: 6bce6f8
Author: Niclas Hedhman <ni...@hedhman.org>
Authored: Thu Jun 4 11:37:42 2015 +0800
Committer: Niclas Hedhman <ni...@hedhman.org>
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<String, String> options )
-        {
-            this();
-            options.putAll( options );
+            this.options.put( INCLUDE_TYPE_INFO, "true" );
         }
 
         /**
@@ -318,5 +308,4 @@ public interface ValueSerializer
             return new HashMap<>( options );
         }
     }
-
 }