Spelling fixes

This commit is contained in:
Elias Naur 2006-07-02 22:41:59 +00:00
parent a844c680a3
commit 0ddd80b0c9
2 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ public class LWJGLInstaller {
}
// create a temporary dir for the native files
String user_temp_dir = getPriveledgedString("java.io.tmpdir");
String user_temp_dir = getPriviledgedString("java.io.tmpdir");
String path = createTemporaryDir(user_temp_dir);
if(path == null) {
throw new LWJGLException("Failed creation of temporary directory in " + user_temp_dir);
@ -251,7 +251,7 @@ public class LWJGLInstaller {
/**
* Gets a property as a privileged action.
*/
private static String getPriveledgedString(final String property) {
private static String getPriviledgedString(final String property) {
return (String) AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
return System.getProperty(property);
@ -315,4 +315,4 @@ public class LWJGLInstaller {
}
file.delete();
}
}
}

View File

@ -75,7 +75,7 @@ final class AWTSurfaceLock {
private boolean privilegedLockAndInitHandle(final Canvas canvas) throws LWJGLException {
// Workaround for Sun JDK bug 4796548 which still exists in java for OS X
// We need to elevate priveleges because of an AWT bug. Please see
// We need to elevate privileges because of an AWT bug. Please see
// http://192.18.37.44/forums/index.php?topic=10572 for a discussion.
// It is only needed on first call, so we avoid it on all subsequent calls
// due to performance.
@ -103,4 +103,4 @@ final class AWTSurfaceLock {
}
private static native void nUnlock(ByteBuffer lock_buffer) throws LWJGLException;
}
}