Changed hard-coded constant in JavaTest to enum value.

Change-Id: I7d2eac7fed6c36c966670a3e58f4dae7dff25029
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen 2014-09-04 12:13:18 -07:00
parent 417cb878c3
commit 84f86be700
1 changed files with 1 additions and 1 deletions

View File

@ -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);