polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [12/14] zest-qi4j git commit: Constructor removed. Since it was outright wrong, and no one complains should mean that it is not used.
Date Tue, 09 Jun 2015 23:58:10 GMT
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 <niclas@hedhman.org>
Authored: Thu Jun 4 11:37:42 2015 +0800
Committer: Niclas Hedhman <niclas@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 );
         }
     }
-
 }


Mime
View raw message