Skip to content
Snippets Groups Projects
Commit 8f935cc0 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

follow capitalization naming conventions for initialized constants

parent 99e999a4
No related branches found
No related tags found
No related merge requests found
...@@ -65,10 +65,10 @@ public class Version { ...@@ -65,10 +65,10 @@ public class Version {
public static String DEVELOPER_CUSTOM_MESSAGE; public static String DEVELOPER_CUSTOM_MESSAGE;
/** Customizable message to be displayed, must first be initialized by class constructor */ /** Customizable message to be displayed, must first be initialized by class constructor */
public static String aviatrix3dVersion; public static String AVIATRIX3D_VERSION;
/** Customizable message to be displayed, must first be initialized by class constructor */ /** Customizable message to be displayed, must first be initialized by class constructor */
public static String joglVersion; public static String JOGL_VERSION;
// https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html // https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
public static final String OS_JAVA_VERSION_MESSAGE = "Operating system: " + System.getProperty("os.name") + SP + System.getProperty("os.version") + "\n" + public static final String OS_JAVA_VERSION_MESSAGE = "Operating system: " + System.getProperty("os.name") + SP + System.getProperty("os.version") + "\n" +
...@@ -86,16 +86,16 @@ public class Version { ...@@ -86,16 +86,16 @@ public class Version {
static static
{ {
if (org.j3d.aviatrix3d.Aviatrix3dVersion.getInstance() != null) if (org.j3d.aviatrix3d.Aviatrix3dVersion.getInstance() != null)
aviatrix3dVersion = org.j3d.aviatrix3d.Aviatrix3dVersion.getInstance().toString(); // TODO correct method? AVIATRIX3D_VERSION = org.j3d.aviatrix3d.Aviatrix3dVersion.getInstance().toString(); // TODO correct method?
else aviatrix3dVersion = "(*** error, org.j3d.aviatrix3d.Aviatrix3dVersion not found)"; else AVIATRIX3D_VERSION = "(*** error, org.j3d.aviatrix3d.Aviatrix3dVersion not found)";
if (com.jogamp.opengl.JoglVersion.getInstance() != null) if (com.jogamp.opengl.JoglVersion.getInstance() != null)
joglVersion = com.jogamp.opengl.JoglVersion.getInstance().toString(); // TODO correct method? JOGL_VERSION = com.jogamp.opengl.JoglVersion.getInstance().toString(); // TODO correct method?
else joglVersion = "(*** error, com.jogamp.opengl.JoglVersion not found)"; else JOGL_VERSION = "(*** error, com.jogamp.opengl.JoglVersion not found)";
DEVELOPER_CUSTOM_MESSAGE = "\nutilizing " + OPEN_DIS_VERSION + DEVELOPER_CUSTOM_MESSAGE = "utilizing " + OPEN_DIS_VERSION +
"\nwith 3D rendering by\n" + aviatrix3dVersion + "\nwith 3D rendering by\n" + AVIATRIX3D_VERSION +
"\non top of\n" + joglVersion; "\non top of\n" + JOGL_VERSION;
XJ3D_VERSION = "v" + BUILD_MAJOR_VERSION + PERIOD + XJ3D_VERSION = "v" + BUILD_MAJOR_VERSION + PERIOD +
BUILD_MINOR_VERSION + SP + DEVELOPER_CUSTOM_MESSAGE + SP + "\n" + BUILD_MINOR_VERSION + SP + DEVELOPER_CUSTOM_MESSAGE + SP + "\n" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment