From e06b1d0de23af83c2801b25c422f4a80e29a67f4 Mon Sep 17 00:00:00 2001 From: Marc Kurtz <mkurtz@fd-software.com> Date: Tue, 8 Jan 2019 11:16:41 -0500 Subject: [PATCH] Change access of getData() to package-private for access in JaiDebug. Move private field to fix compile error. --- port/jassimp/jassimp/src/jassimp/AiMaterial.java | 2 +- port/jassimp/jassimp/src/jassimp/AiSceneFlag.java | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/port/jassimp/jassimp/src/jassimp/AiMaterial.java b/port/jassimp/jassimp/src/jassimp/AiMaterial.java index bf077dff3..77a15a455 100644 --- a/port/jassimp/jassimp/src/jassimp/AiMaterial.java +++ b/port/jassimp/jassimp/src/jassimp/AiMaterial.java @@ -457,7 +457,7 @@ public final class AiMaterial { * * @return the data */ - private Object getData() { + Object getData() { return m_data; } } diff --git a/port/jassimp/jassimp/src/jassimp/AiSceneFlag.java b/port/jassimp/jassimp/src/jassimp/AiSceneFlag.java index 4c7dd6072..af3ee5d5f 100644 --- a/port/jassimp/jassimp/src/jassimp/AiSceneFlag.java +++ b/port/jassimp/jassimp/src/jassimp/AiSceneFlag.java @@ -47,11 +47,6 @@ import java.util.Set; * Status flags for {@link AiScene}s. */ public enum AiSceneFlag { - /** - * The mapped c/c++ integer enum value. - */ - private final int m_rawValue; - /** * Specifies that the scene data structure that was imported is not * complete.<p> @@ -119,8 +114,12 @@ public enum AiSceneFlag { * you actually need to render it). */ TERRAIN(0x10); - - + + /** + * The mapped c/c++ integer enum value. + */ + private final int m_rawValue; + /** * Utility method for converting from c/c++ based integer enums to java * enums.<p>