From eedb4b530fb83fc59a26962bcf7847a1404092a0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 13 Mar 2012 20:12:40 +0100 Subject: 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. --- src/java/jogamp/common/Debug.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/java/jogamp/common/Debug.java') 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); } -- cgit v1.2.3