From 84f86be70039d41f967760350a13e4afb0f74922 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Thu, 4 Sep 2014 12:13:18 -0700 Subject: [PATCH] Changed hard-coded constant in JavaTest to enum value. Change-Id: I7d2eac7fed6c36c966670a3e58f4dae7dff25029 Tested: on Linux. --- tests/JavaTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/JavaTest.java b/tests/JavaTest.java index 76f89f5d3..862659e81 100755 --- 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);