projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417cb87
)
Changed hard-coded constant in JavaTest to enum value.
author
Wouter van Oortmerssen
<wvo@google.com>
Thu, 4 Sep 2014 19:13:18 +0000
(12:13 -0700)
committer
Wouter van Oortmerssen
<wvo@google.com>
Fri, 5 Sep 2014 00:35:24 +0000
(17:35 -0700)
Change-Id: I7d2eac7fed6c36c966670a3e58f4dae7dff25029
Tested: on Linux.
tests/JavaTest.java
patch
|
blob
|
history
diff --git
a/tests/JavaTest.java
b/tests/JavaTest.java
index
76f89f5
..
862659e
100755
(executable)
--- a/
tests/JavaTest.java
+++ b/
tests/JavaTest.java
@@
-79,7
+79,7
@@
class JavaTest {
Monster.addHp(fbb, (short)80);
Monster.addName(fbb, str);
Monster.addInventory(fbb, inv);
- Monster.addTestType(fbb, (byte)
1
);
+ Monster.addTestType(fbb, (byte)
Any.Monster
);
Monster.addTest(fbb, mon2);
Monster.addTest4(fbb, test4);
Monster.addTestarrayofstring(fbb, testArrayOfString);