From cc2d4cd83f9bc53b18cee22182277388cd5ff98e Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Thu, 17 Oct 2013 16:52:59 +0000 Subject: [PATCH] Future-proofing JmeVersion now in case we want to do something smarter in the future. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10834 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/system/JmeSystemDelegate.java | 2 +- engine/src/core/com/jme3/system/JmeVersion.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/engine/src/core/com/jme3/system/JmeSystemDelegate.java b/engine/src/core/com/jme3/system/JmeSystemDelegate.java index 01aa0eb04..136ff152e 100644 --- a/engine/src/core/com/jme3/system/JmeSystemDelegate.java +++ b/engine/src/core/com/jme3/system/JmeSystemDelegate.java @@ -91,7 +91,7 @@ public abstract class JmeSystemDelegate { } public String getFullName() { - return JmeVersion.FULL_NAME; + return JmeVersion.getFullName(); } public InputStream getResourceAsStream(String name) { diff --git a/engine/src/core/com/jme3/system/JmeVersion.java b/engine/src/core/com/jme3/system/JmeVersion.java index 3df66c380..98cfbc354 100644 --- a/engine/src/core/com/jme3/system/JmeVersion.java +++ b/engine/src/core/com/jme3/system/JmeVersion.java @@ -32,5 +32,9 @@ package com.jme3.system; public class JmeVersion { - public static final String FULL_NAME = "jMonkeyEngine 3.x"; + private static final String FULL_NAME = "jMonkeyEngine 3.x"; + + public static String getFullName() { + return FULL_NAME; + } }