Skip to content

Commit e1c5e85

Browse files
committed
Platform: javadoc and a comment
1 parent b40a91d commit e1c5e85

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

jme3-core/src/main/java/com/jme3/system/Platform.java

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2021 jMonkeyEngine
2+
* Copyright (c) 2009-2022 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -146,10 +146,25 @@ public enum Platform {
146146
* Enumerate generic names of operating systems
147147
*/
148148
public enum Os {
149-
Linux,
150-
Windows,
151-
iOS,
152-
MacOS,
149+
/**
150+
* Linux operating systems
151+
*/
152+
Linux,
153+
/**
154+
* Microsoft Windows operating systems
155+
*/
156+
Windows,
157+
/**
158+
* iOS operating systems
159+
*/
160+
iOS,
161+
/**
162+
* macOS operating systems
163+
*/
164+
MacOS,
165+
/**
166+
* Android operating systems
167+
*/
153168
Android
154169
}
155170

@@ -166,8 +181,8 @@ public boolean is64Bit() {
166181
}
167182

168183
/**
169-
* Get the opterating system of this platform
170-
*
184+
* Returns the operating system of this platform.
185+
*
171186
* @return the generic name of the operating system of this platform
172187
*/
173188
public Os getOs() {

0 commit comments

Comments
 (0)