summaryrefslogtreecommitdiffstats
path: root/src/jogamp/opencl/os/android/JoclVersionActivity.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-03 16:35:47 +0200
committerSven Gothel <[email protected]>2014-07-03 16:35:47 +0200
commita90ee128ce0550cd05f969d0283312c2f42b8254 (patch)
treedade644101970d8f69ea3845db310499f2b66a76 /src/jogamp/opencl/os/android/JoclVersionActivity.java
parenta0e0c8a39d0ef41ff6b64d9b40d058f21b786e81 (diff)
Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74)
- Change non static accesses to static members using declaring type - Change indirect accesses to static members to direct accesses (accesses through subtypes) - Add final modifier to private fields - Add final modifier to method parameters - Add final modifier to local variables - Remove unnecessary casts - Remove unnecessary '$NON-NLS$' tags - Remove trailing white spaces on all lines
Diffstat (limited to 'src/jogamp/opencl/os/android/JoclVersionActivity.java')
-rw-r--r--src/jogamp/opencl/os/android/JoclVersionActivity.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jogamp/opencl/os/android/JoclVersionActivity.java b/src/jogamp/opencl/os/android/JoclVersionActivity.java
index b9884141..1f98a0c8 100644
--- a/src/jogamp/opencl/os/android/JoclVersionActivity.java
+++ b/src/jogamp/opencl/os/android/JoclVersionActivity.java
@@ -27,6 +27,8 @@
*/
package jogamp.opencl.os.android;
+import jogamp.common.os.PlatformPropsImpl;
+
import com.jogamp.common.GlueGenVersion;
import com.jogamp.common.os.Platform;
import com.jogamp.common.util.VersionUtil;
@@ -42,7 +44,7 @@ import android.widget.TextView;
public class JoclVersionActivity extends JoclBaseActivity {
@Override
- public void onCreate(Bundle savedInstanceState) {
+ public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setFullscreenFeature(getWindow(), true);
@@ -61,11 +63,11 @@ public class JoclVersionActivity extends JoclBaseActivity {
setContentView(scroller);
final JoclVersion joclVersion = JoclVersion.getInstance();
- final String info1 = "JOCL Version Info"+Platform.NEWLINE+
- VersionUtil.getPlatformInfo()+Platform.NEWLINE+
- GlueGenVersion.getInstance()+Platform.NEWLINE+
- joclVersion.toString()+Platform.NEWLINE+
- joclVersion.getOpenCLTextInfo(null).toString()+Platform.NEWLINE;
+ final String info1 = "JOCL Version Info"+PlatformPropsImpl.NEWLINE+
+ VersionUtil.getPlatformInfo()+PlatformPropsImpl.NEWLINE+
+ GlueGenVersion.getInstance()+PlatformPropsImpl.NEWLINE+
+ joclVersion.toString()+PlatformPropsImpl.NEWLINE+
+ joclVersion.getOpenCLTextInfo(null).toString()+PlatformPropsImpl.NEWLINE;
System.err.println(info1);
tv.setText(info1);