ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-1819: Removed metadata enabled flag from .Net configuration.
Date Thu, 05 Nov 2015 12:38:05 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1819 3e9916841 -> 1872f1844


IGNITE-1819: Removed metadata enabled flag from .Net configuration.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/1872f184
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/1872f184
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/1872f184

Branch: refs/heads/ignite-1819
Commit: 1872f18443247a64720bed0af6877c9816299e4f
Parents: 3e99168
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Thu Nov 5 15:38:48 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Thu Nov 5 15:38:48 2015 +0300

----------------------------------------------------------------------
 .../PlatformDotNetPortableConfiguration.java    | 26 --------------------
 1 file changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1872f184/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetPortableConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetPortableConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetPortableConfiguration.java
index dd7b988..ed25a0f 100644
--- a/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetPortableConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/platform/dotnet/PlatformDotNetPortableConfiguration.java
@@ -41,9 +41,6 @@ public class PlatformDotNetPortableConfiguration {
     /** Default serializer. */
     private String dfltSerializer;
 
-    /** Default metadata enabled. */
-    private boolean dfltMetadataEnabled = true;
-
     /** Whether to cache deserialized value in IGridPortableObject */
     private boolean dfltKeepDeserialized = true;
 
@@ -72,7 +69,6 @@ public class PlatformDotNetPortableConfiguration {
         dfltNameMapper = cfg.getDefaultNameMapper();
         dfltIdMapper = cfg.getDefaultIdMapper();
         dfltSerializer = cfg.getDefaultSerializer();
-        dfltMetadataEnabled = cfg.isDefaultMetadataEnabled();
         dfltKeepDeserialized = cfg.isDefaultKeepDeserialized();
     }
 
@@ -147,28 +143,6 @@ public class PlatformDotNetPortableConfiguration {
     }
 
     /**
-     * Gets default metadata enabled flag. See {@link #setDefaultMetadataEnabled(boolean)}
for more information.
-     *
-     * @return Default metadata enabled flag.
-     */
-    public boolean isDefaultMetadataEnabled() {
-        return dfltMetadataEnabled;
-    }
-
-    /**
-     * Sets default metadata enabled flag. When set to {@code true} all portable types will
save it's metadata to
-     * cluster.
-     * <p />
-     * Can be overridden for particular type using
-     * {@link PlatformDotNetPortableTypeConfiguration#setMetadataEnabled(Boolean)}.
-     *
-     * @param dfltMetadataEnabled Default metadata enabled flag.
-     */
-    public void setDefaultMetadataEnabled(boolean dfltMetadataEnabled) {
-        this.dfltMetadataEnabled = dfltMetadataEnabled;
-    }
-
-    /**
      * Gets default keep deserialized flag. See {@link #setDefaultKeepDeserialized(boolean)}
for more information.
      *
      * @return  Flag indicates whether to cache deserialized value in IGridPortableObject.


Mime
View raw message