diff --git a/src/idl_gen_java.cpp b/src/idl_gen_java.cpp index 44f57c5a4..c3bc9c144 100644 --- a/src/idl_gen_java.cpp +++ b/src/idl_gen_java.cpp @@ -185,7 +185,9 @@ class JavaGenerator : public BaseGenerator { "import com.google.flatbuffers.DoubleVector;\n" "import com.google.flatbuffers.FlatBufferBuilder;\n" "import com.google.flatbuffers.FloatVector;\n" + "import com.google.flatbuffers.IntVector;\n" "import com.google.flatbuffers.LongVector;\n" + "import com.google.flatbuffers.ShortVector;\n" "import com.google.flatbuffers.StringVector;\n" "import com.google.flatbuffers.Struct;\n" "import com.google.flatbuffers.Table;\n" diff --git a/tests/DictionaryLookup/LongFloatEntry.java b/tests/DictionaryLookup/LongFloatEntry.java index 211690599..8b85c8268 100644 --- a/tests/DictionaryLookup/LongFloatEntry.java +++ b/tests/DictionaryLookup/LongFloatEntry.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/DictionaryLookup/LongFloatMap.java b/tests/DictionaryLookup/LongFloatMap.java index 2af8e4004..13e2e7915 100644 --- a/tests/DictionaryLookup/LongFloatMap.java +++ b/tests/DictionaryLookup/LongFloatMap.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Ability.java b/tests/MyGame/Example/Ability.java index 06af95c3d..8b8c38f11 100644 --- a/tests/MyGame/Example/Ability.java +++ b/tests/MyGame/Example/Ability.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/AbilityT.java b/tests/MyGame/Example/AbilityT.java index 4e0bd79a8..73c236224 100644 --- a/tests/MyGame/Example/AbilityT.java +++ b/tests/MyGame/Example/AbilityT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/ArrayStruct.java b/tests/MyGame/Example/ArrayStruct.java index 54b17540a..b859560bd 100644 --- a/tests/MyGame/Example/ArrayStruct.java +++ b/tests/MyGame/Example/ArrayStruct.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/ArrayStructT.java b/tests/MyGame/Example/ArrayStructT.java index 409acc8a1..99922be98 100644 --- a/tests/MyGame/Example/ArrayStructT.java +++ b/tests/MyGame/Example/ArrayStructT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/ArrayTable.java b/tests/MyGame/Example/ArrayTable.java index 0d937daa8..a5149ecd2 100644 --- a/tests/MyGame/Example/ArrayTable.java +++ b/tests/MyGame/Example/ArrayTable.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/ArrayTableT.java b/tests/MyGame/Example/ArrayTableT.java index f87e005b8..645538148 100644 --- a/tests/MyGame/Example/ArrayTableT.java +++ b/tests/MyGame/Example/ArrayTableT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Monster.java b/tests/MyGame/Example/Monster.java index 6c1dac36d..5194c0757 100644 --- a/tests/MyGame/Example/Monster.java +++ b/tests/MyGame/Example/Monster.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/MonsterT.java b/tests/MyGame/Example/MonsterT.java index c74ea64d0..622a4fa80 100644 --- a/tests/MyGame/Example/MonsterT.java +++ b/tests/MyGame/Example/MonsterT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/NestedStruct.java b/tests/MyGame/Example/NestedStruct.java index a0fe37c2c..0d33f7133 100644 --- a/tests/MyGame/Example/NestedStruct.java +++ b/tests/MyGame/Example/NestedStruct.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/NestedStructT.java b/tests/MyGame/Example/NestedStructT.java index b4021991c..396522a91 100644 --- a/tests/MyGame/Example/NestedStructT.java +++ b/tests/MyGame/Example/NestedStructT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Referrable.java b/tests/MyGame/Example/Referrable.java index 211fe929b..df55f7a3d 100644 --- a/tests/MyGame/Example/Referrable.java +++ b/tests/MyGame/Example/Referrable.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/ReferrableT.java b/tests/MyGame/Example/ReferrableT.java index e5ac1d5f4..5efd363f8 100644 --- a/tests/MyGame/Example/ReferrableT.java +++ b/tests/MyGame/Example/ReferrableT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Stat.java b/tests/MyGame/Example/Stat.java index 27c3fa720..8dbf2c0bd 100644 --- a/tests/MyGame/Example/Stat.java +++ b/tests/MyGame/Example/Stat.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/StatT.java b/tests/MyGame/Example/StatT.java index c108d9ca3..82939a6c6 100644 --- a/tests/MyGame/Example/StatT.java +++ b/tests/MyGame/Example/StatT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/StructOfStructs.java b/tests/MyGame/Example/StructOfStructs.java index 5ec5b9a60..befd33590 100644 --- a/tests/MyGame/Example/StructOfStructs.java +++ b/tests/MyGame/Example/StructOfStructs.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/StructOfStructsOfStructs.java b/tests/MyGame/Example/StructOfStructsOfStructs.java index 8bab48e91..fb14a5a0c 100644 --- a/tests/MyGame/Example/StructOfStructsOfStructs.java +++ b/tests/MyGame/Example/StructOfStructsOfStructs.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/StructOfStructsOfStructsT.java b/tests/MyGame/Example/StructOfStructsOfStructsT.java index 7839ec6fd..60afd7384 100644 --- a/tests/MyGame/Example/StructOfStructsOfStructsT.java +++ b/tests/MyGame/Example/StructOfStructsOfStructsT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/StructOfStructsT.java b/tests/MyGame/Example/StructOfStructsT.java index 0919fc2d5..8d5034af5 100644 --- a/tests/MyGame/Example/StructOfStructsT.java +++ b/tests/MyGame/Example/StructOfStructsT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Test.java b/tests/MyGame/Example/Test.java index 62767187d..cff5a6503 100644 --- a/tests/MyGame/Example/Test.java +++ b/tests/MyGame/Example/Test.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/TestSimpleTableWithEnum.java b/tests/MyGame/Example/TestSimpleTableWithEnum.java index 23fb1f1b8..677b705de 100644 --- a/tests/MyGame/Example/TestSimpleTableWithEnum.java +++ b/tests/MyGame/Example/TestSimpleTableWithEnum.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/TestSimpleTableWithEnumT.java b/tests/MyGame/Example/TestSimpleTableWithEnumT.java index b44138451..7641550c4 100644 --- a/tests/MyGame/Example/TestSimpleTableWithEnumT.java +++ b/tests/MyGame/Example/TestSimpleTableWithEnumT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/TestT.java b/tests/MyGame/Example/TestT.java index 6a017c6cb..38103172b 100644 --- a/tests/MyGame/Example/TestT.java +++ b/tests/MyGame/Example/TestT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/TypeAliases.java b/tests/MyGame/Example/TypeAliases.java index fb74ba67f..54df0ec20 100644 --- a/tests/MyGame/Example/TypeAliases.java +++ b/tests/MyGame/Example/TypeAliases.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/TypeAliasesT.java b/tests/MyGame/Example/TypeAliasesT.java index 9a5f68bab..2e056843c 100644 --- a/tests/MyGame/Example/TypeAliasesT.java +++ b/tests/MyGame/Example/TypeAliasesT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Vec3.java b/tests/MyGame/Example/Vec3.java index 4d500b381..c1f2ce63c 100644 --- a/tests/MyGame/Example/Vec3.java +++ b/tests/MyGame/Example/Vec3.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example/Vec3T.java b/tests/MyGame/Example/Vec3T.java index 28488de66..78fb1dd77 100644 --- a/tests/MyGame/Example/Vec3T.java +++ b/tests/MyGame/Example/Vec3T.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example2/Monster.java b/tests/MyGame/Example2/Monster.java index d701d97c5..5ba6d7638 100644 --- a/tests/MyGame/Example2/Monster.java +++ b/tests/MyGame/Example2/Monster.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/Example2/MonsterT.java b/tests/MyGame/Example2/MonsterT.java index e26608422..699d6c6da 100644 --- a/tests/MyGame/Example2/MonsterT.java +++ b/tests/MyGame/Example2/MonsterT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/InParentNamespace.java b/tests/MyGame/InParentNamespace.java index 15651390b..bc4da5e6d 100644 --- a/tests/MyGame/InParentNamespace.java +++ b/tests/MyGame/InParentNamespace.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/InParentNamespaceT.java b/tests/MyGame/InParentNamespaceT.java index bba62ec28..9180ce19a 100644 --- a/tests/MyGame/InParentNamespaceT.java +++ b/tests/MyGame/InParentNamespaceT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/MonsterExtra.java b/tests/MyGame/MonsterExtra.java index bbc06691d..85b243c98 100644 --- a/tests/MyGame/MonsterExtra.java +++ b/tests/MyGame/MonsterExtra.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/MyGame/MonsterExtraT.java b/tests/MyGame/MonsterExtraT.java index 9f3c8b19d..8872c1ce2 100644 --- a/tests/MyGame/MonsterExtraT.java +++ b/tests/MyGame/MonsterExtraT.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/optional_scalars/ScalarStuff.java b/tests/optional_scalars/ScalarStuff.java index c7d9831ac..10b29242b 100644 --- a/tests/optional_scalars/ScalarStuff.java +++ b/tests/optional_scalars/ScalarStuff.java @@ -9,7 +9,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/py_test.py b/tests/py_test.py index fe3d10e55..204a96dd4 100644 --- a/tests/py_test.py +++ b/tests/py_test.py @@ -1418,7 +1418,7 @@ class TestByteLayout(unittest.TestCase): # Systems endian: b = flatbuffers.Builder(0) - x = np.array([True, False, True], dtype=np.bool) + x = np.array([True, False, True], dtype=bool) b.CreateNumpyVector(x) self.assertBuilderEquals( b, diff --git a/tests/union_vector/Attacker.java b/tests/union_vector/Attacker.java index 78a4691ee..9723140ca 100644 --- a/tests/union_vector/Attacker.java +++ b/tests/union_vector/Attacker.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/AttackerT.java b/tests/union_vector/AttackerT.java index 0fa46a760..39e9b6757 100644 --- a/tests/union_vector/AttackerT.java +++ b/tests/union_vector/AttackerT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/BookReader.java b/tests/union_vector/BookReader.java index f2e15741a..3ff0df540 100644 --- a/tests/union_vector/BookReader.java +++ b/tests/union_vector/BookReader.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/BookReaderT.java b/tests/union_vector/BookReaderT.java index 9000d6002..f07d7c558 100644 --- a/tests/union_vector/BookReaderT.java +++ b/tests/union_vector/BookReaderT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/FallingTub.java b/tests/union_vector/FallingTub.java index 272f18f89..70eabbf0f 100644 --- a/tests/union_vector/FallingTub.java +++ b/tests/union_vector/FallingTub.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/FallingTubT.java b/tests/union_vector/FallingTubT.java index 23275354f..0f373fd79 100644 --- a/tests/union_vector/FallingTubT.java +++ b/tests/union_vector/FallingTubT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/HandFan.java b/tests/union_vector/HandFan.java index 74103caed..df347e191 100644 --- a/tests/union_vector/HandFan.java +++ b/tests/union_vector/HandFan.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/HandFanT.java b/tests/union_vector/HandFanT.java index b3500a950..d1ad4cf44 100644 --- a/tests/union_vector/HandFanT.java +++ b/tests/union_vector/HandFanT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/Movie.java b/tests/union_vector/Movie.java index bf1455c5f..af2be4471 100644 --- a/tests/union_vector/Movie.java +++ b/tests/union_vector/Movie.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/MovieT.java b/tests/union_vector/MovieT.java index a9551629c..0a3bb59a3 100644 --- a/tests/union_vector/MovieT.java +++ b/tests/union_vector/MovieT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/Rapunzel.java b/tests/union_vector/Rapunzel.java index f348ae13d..422b4bf2e 100644 --- a/tests/union_vector/Rapunzel.java +++ b/tests/union_vector/Rapunzel.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table; diff --git a/tests/union_vector/RapunzelT.java b/tests/union_vector/RapunzelT.java index 6a9808177..5adbcc67e 100644 --- a/tests/union_vector/RapunzelT.java +++ b/tests/union_vector/RapunzelT.java @@ -7,7 +7,9 @@ import com.google.flatbuffers.Constants; import com.google.flatbuffers.DoubleVector; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.FloatVector; +import com.google.flatbuffers.IntVector; import com.google.flatbuffers.LongVector; +import com.google.flatbuffers.ShortVector; import com.google.flatbuffers.StringVector; import com.google.flatbuffers.Struct; import com.google.flatbuffers.Table;