diff options
author | Sven Gothel <[email protected]> | 2011-07-28 15:52:54 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-28 15:52:54 +0200 |
commit | 2983b3dbc73f61b4312e374d89f13c86ad0bffbd (patch) | |
tree | ac0f5c7db07047b8024be978b63a8768aad7feeb /src/java/com/jogamp/common | |
parent | dcaa3cb5cabfa11ae88fad266b54a1690148edf9 (diff) |
Platform getArch() -> getArchName() (analogue to getOSName())
Diffstat (limited to 'src/java/com/jogamp/common')
-rw-r--r-- | src/java/com/jogamp/common/os/Platform.java | 2 | ||||
-rw-r--r-- | src/java/com/jogamp/common/util/VersionUtil.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/Platform.java b/src/java/com/jogamp/common/os/Platform.java index 6c23f07..a1e8bd5 100644 --- a/src/java/com/jogamp/common/os/Platform.java +++ b/src/java/com/jogamp/common/os/Platform.java @@ -320,7 +320,7 @@ public class Platform { /** * Returns the CPU architecture String. */ - public static String getArch() { + public static String getArchName() { return ARCH; } diff --git a/src/java/com/jogamp/common/util/VersionUtil.java b/src/java/com/jogamp/common/util/VersionUtil.java index d48eb5d..157edaa 100644 --- a/src/java/com/jogamp/common/util/VersionUtil.java +++ b/src/java/com/jogamp/common/util/VersionUtil.java @@ -55,7 +55,7 @@ public class VersionUtil { // environment sb.append("Platform: ").append(Platform.getOSType()).append(" / ").append(Platform.getOSName()).append(' ').append(Platform.getOSVersion()).append(" (os), "); - sb.append(Platform.getArch()).append(" (arch) ").append(Runtime.getRuntime().availableProcessors()).append(" cores"); + sb.append(Platform.getArchName()).append(" (arch) ").append(Runtime.getRuntime().availableProcessors()).append(" cores"); sb.append(Platform.getNewline()); if( AndroidVersion.isAvailable) { sb.append("Platform: Android Version: ").append(AndroidVersion.CODENAME).append(", "); |