summaryrefslogtreecommitdiff
path: root/tests/MyGame/Example/Stat.java
diff options
context:
space:
mode:
authorKamil Rojewski <krojew@users.noreply.github.com>2019-02-21 19:50:13 +0100
committerWouter van Oortmerssen <aardappel@gmail.com>2019-02-21 19:50:13 +0100
commit8f8fb2b3677f55529f126f1adcc70b5dcdcd3290 (patch)
tree88c5c71fa1ee56f6c24e3b0a3ce0c8ff0b75f6f2 /tests/MyGame/Example/Stat.java
parent69d761d15e36bb05cf20b846a048894c72342ebf (diff)
downloadflatbuffers-8f8fb2b3677f55529f126f1adcc70b5dcdcd3290.tar.gz
flatbuffers-8f8fb2b3677f55529f126f1adcc70b5dcdcd3290.tar.bz2
flatbuffers-8f8fb2b3677f55529f126f1adcc70b5dcdcd3290.zip
Fixed vector of unions crash in java (#5190)
* Fixed vector of unions crash in java * Regenerated test code * Fixed windows tests
Diffstat (limited to 'tests/MyGame/Example/Stat.java')
-rw-r--r--tests/MyGame/Example/Stat.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/MyGame/Example/Stat.java b/tests/MyGame/Example/Stat.java
index 8f480363..73e2bc8f 100644
--- a/tests/MyGame/Example/Stat.java
+++ b/tests/MyGame/Example/Stat.java
@@ -7,7 +7,8 @@ import java.lang.*;
import java.util.*;
import com.google.flatbuffers.*;
-@SuppressWarnings("unused")public final class Stat extends Table {
+@SuppressWarnings("unused")
+public final class Stat extends Table {
public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); }
public static Stat getRootAsStat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }