diff options
author | Sven Gothel <[email protected]> | 2011-02-09 05:05:13 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-09 05:05:13 +0100 |
commit | c4311f1abc4aefefb8a846b0397e184a8a382b31 (patch) | |
tree | 1d61cf26d41db1619bb104741fb6a9c732e28187 /make/joal-common-CustomJavaCode.java | |
parent | b014a46d18d593136640c928f790494fc33a6d1e (diff) |
Expand tabs to 4 spaces
Diffstat (limited to 'make/joal-common-CustomJavaCode.java')
-rw-r--r-- | make/joal-common-CustomJavaCode.java | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/make/joal-common-CustomJavaCode.java b/make/joal-common-CustomJavaCode.java index 6f77146..be6b8a7 100644 --- a/make/joal-common-CustomJavaCode.java +++ b/make/joal-common-CustomJavaCode.java @@ -2,27 +2,27 @@ static final DynamicLibraryBundle alDynamicLookupHelper; private static final ALProcAddressTable alProcAddressTable; static { - alProcAddressTable = new ALProcAddressTable(); - if(null==alProcAddressTable) { - throw new RuntimeException("Couldn't instantiate ALProcAddressTable"); - } + alProcAddressTable = new ALProcAddressTable(); + if(null==alProcAddressTable) { + throw new RuntimeException("Couldn't instantiate ALProcAddressTable"); + } - alDynamicLookupHelper = (DynamicLibraryBundle) - AccessController.doPrivileged(new PrivilegedAction() { - public Object run() { - return new DynamicLibraryBundle(new ALDynamicLibraryBundleInfo()); - } - }); - if(null==alDynamicLookupHelper) { - throw new RuntimeException("Null ALDynamicLookupHelper"); - } - if(!alDynamicLookupHelper.isToolLibLoaded()) { - throw new RuntimeException("Couln't load native AL library"); - } - if(!alDynamicLookupHelper.isLibComplete()) { - throw new RuntimeException("Couln't load native AL/JNI glue library"); - } - alProcAddressTable.reset(alDynamicLookupHelper); + alDynamicLookupHelper = (DynamicLibraryBundle) + AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + return new DynamicLibraryBundle(new ALDynamicLibraryBundleInfo()); + } + }); + if(null==alDynamicLookupHelper) { + throw new RuntimeException("Null ALDynamicLookupHelper"); + } + if(!alDynamicLookupHelper.isToolLibLoaded()) { + throw new RuntimeException("Couln't load native AL library"); + } + if(!alDynamicLookupHelper.isLibComplete()) { + throw new RuntimeException("Couln't load native AL/JNI glue library"); + } + alProcAddressTable.reset(alDynamicLookupHelper); } public static ALProcAddressTable getALProcAddressTable() { return alProcAddressTable; } |