summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-13 20:12:40 +0100
committerSven Gothel <[email protected]>2012-03-13 20:12:40 +0100
commiteedb4b530fb83fc59a26962bcf7847a1404092a0 (patch)
tree8dfc3f5590356398616bb87ab65cdf56837123cc /src/java/jogamp/common
parentf4ac27e177f6deb444280d3b375e7d343e38bd08 (diff)
PropertyAccess: Push down 'isPropertyDefined(final String property, final boolean jnlpAlias)' for trusted properties
The method shall be called by the respective Debug specialization, which registers the trusted property prefix.
Diffstat (limited to 'src/java/jogamp/common')
-rw-r--r--src/java/jogamp/common/Debug.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/jogamp/common/Debug.java b/src/java/jogamp/common/Debug.java
index f75b37b..19e2fd7 100644
--- a/src/java/jogamp/common/Debug.java
+++ b/src/java/jogamp/common/Debug.java
@@ -55,6 +55,10 @@ public class Debug extends PropertyAccess {
debugAll = isPropertyDefined("jogamp.debug", true);
}
+ public static final boolean isPropertyDefined(final String property, final boolean jnlpAlias) {
+ return PropertyAccess.isPropertyDefined(property, jnlpAlias, null);
+ }
+
public static final boolean getBooleanProperty(final String property, final boolean jnlpAlias) {
return PropertyAccess.getBooleanProperty(property, jnlpAlias, null);
}