mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
The MyGame/Example/LongEnum.java class did not compile because Java expects an "L" suffix for literals of type long. This CL fixes the code generation to include such a suffix. Co-authored-by: Dominic Battre <battre@chromium.org>
13 lines
317 B
Java
13 lines
317 B
Java
// automatically generated by the FlatBuffers compiler, do not modify
|
|
|
|
package MyGame.Example;
|
|
|
|
@SuppressWarnings("unused")
|
|
public final class LongEnum {
|
|
private LongEnum() { }
|
|
public static final long LongOne = 2L;
|
|
public static final long LongTwo = 4L;
|
|
public static final long LongBig = 1099511627776L;
|
|
}
|
|
|