You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by zh...@apache.org on 2017/11/29 05:25:51 UTC

[geode] branch develop updated: GEODE-4000: The serializerClass is actually introduced in 1.4 not 1.3. (#1097)

This is an automated email from the ASF dual-hosted git repository.

zhouxj pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new de794ff  GEODE-4000: The serializerClass is actually introduced in 1.4 not 1.3. (#1097)
de794ff is described below

commit de794ffc6a9135ae1c79f17f31a8d2c361e91219
Author: Xiaojian Zhou <ge...@users.noreply.github.com>
AuthorDate: Tue Nov 28 21:25:49 2017 -0800

    GEODE-4000: The serializerClass is actually introduced in 1.4 not 1.3. (#1097)
---
 .../cache/lucene/internal/LuceneIndexCreationProfile.java      | 10 +++++-----
 geode-old-versions/build.gradle                                |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexCreationProfile.java b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexCreationProfile.java
index 9a61048..6100634 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexCreationProfile.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexCreationProfile.java
@@ -165,11 +165,11 @@ public class LuceneIndexCreationProfile implements CacheServiceProfile, Versione
 
   @Override
   public void toData(DataOutput out) throws IOException {
-    toDataPre_GEODE_1_3_0_0(out);
+    toDataPre_GEODE_1_4_0_0(out);
     DataSerializer.writeString(this.serializerClass, out);
   }
 
-  public void toDataPre_GEODE_1_3_0_0(DataOutput out) throws IOException {
+  public void toDataPre_GEODE_1_4_0_0(DataOutput out) throws IOException {
     DataSerializer.writeString(this.indexName, out);
     DataSerializer.writeString(this.regionPath, out);
     DataSerializer.writeStringArray(this.fieldNames, out);
@@ -179,11 +179,11 @@ public class LuceneIndexCreationProfile implements CacheServiceProfile, Versione
 
   @Override
   public void fromData(DataInput in) throws IOException, ClassNotFoundException {
-    fromDataPre_GEODE_1_3_0_0(in);
+    fromDataPre_GEODE_1_4_0_0(in);
     this.serializerClass = DataSerializer.readString(in);
   }
 
-  public void fromDataPre_GEODE_1_3_0_0(DataInput in) throws IOException, ClassNotFoundException {
+  public void fromDataPre_GEODE_1_4_0_0(DataInput in) throws IOException, ClassNotFoundException {
     this.indexName = DataSerializer.readString(in);
     this.regionPath = DataSerializer.readString(in);
     this.fieldNames = DataSerializer.readStringArray(in);
@@ -205,6 +205,6 @@ public class LuceneIndexCreationProfile implements CacheServiceProfile, Versione
 
   @Override
   public Version[] getSerializationVersions() {
-    return new Version[] {Version.GEODE_130};
+    return new Version[] {Version.GEODE_140};
   }
 }
diff --git a/geode-old-versions/build.gradle b/geode-old-versions/build.gradle
index 886f240..55caac5 100644
--- a/geode-old-versions/build.gradle
+++ b/geode-old-versions/build.gradle
@@ -89,6 +89,7 @@ task createGeodeClasspathsFile  {
   addOldVersion('test110', '1.1.0', false)
   addOldVersion('test111', '1.1.1', false)
   addOldVersion('test120', '1.2.0', true)
+  addOldVersion('test130', '1.3.0', true)
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].