Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xj3D
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
Xj3D
Commits
8f935cc0
Commit
8f935cc0
authored
2 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
follow capitalization naming conventions for initialized constants
parent
99e999a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/java/org/web3d/util/Version.java
+9
-9
9 additions, 9 deletions
src/java/org/web3d/util/Version.java
with
9 additions
and
9 deletions
src/java/org/web3d/util/Version.java
+
9
−
9
View file @
8f935cc0
...
@@ -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
=
"
\n
utilizing "
+
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"
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment