Fix compilation error

This commit is contained in:
Alexander Reelsen 2016-03-24 08:49:36 +01:00
parent b2573858b6
commit 69b71e66f3
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ public class TypeParsers {
iterator.remove();
} else if (propName.equals("fielddata")
&& propNode instanceof Map
&& parserContext.indexVersionCreated().before(Version.V_5_0_0)) {
&& parserContext.indexVersionCreated().before(Version.V_5_0_0_alpha1)) {
// ignore for bw compat
iterator.remove();
} else if (propName.equals("copy_to")) {