From a2f398e50715286720c2b230ad463692fa83e8c2 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 4 Jul 2006 12:10:35 +0000 Subject: [PATCH] Tightened access modifiers for LWJGLInstaller --- src/java/org/lwjgl/util/applet/LWJGLInstaller.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/lwjgl/util/applet/LWJGLInstaller.java b/src/java/org/lwjgl/util/applet/LWJGLInstaller.java index 20e9ff2e..47200f83 100644 --- a/src/java/org/lwjgl/util/applet/LWJGLInstaller.java +++ b/src/java/org/lwjgl/util/applet/LWJGLInstaller.java @@ -83,7 +83,7 @@ public class LWJGLInstaller { /** * Create a temporary installation of LWJGL. * This will extract the relevant native files (for the platform) into - * the users temp directory, and instruct the LWJGL subsystem to load its + * the user's temp directory, and instruct the LWJGL subsystem to load its * native files from there. * The files required by the installer, are gotten from the classloader via its * getResource command, and are assumed to in the path: /native// @@ -246,7 +246,7 @@ public class LWJGLInstaller { * @param os OutputStream to write to * @throws IOException if the copy process fail in any way */ - static void copyFile(InputStream is, OutputStream os, boolean closeInput) throws IOException { + private static void copyFile(InputStream is, OutputStream os, boolean closeInput) throws IOException { int len; while ((len = is.read(COPY_BUFFER)) > 0) { os.write(COPY_BUFFER, 0, len); @@ -265,7 +265,7 @@ public class LWJGLInstaller { * called '.lwjglinstaller' will also be created in the directory. * @return Name of temp directory or null if directory creation failed */ - static String createTemporaryDir(final String user_temp_dir) throws Exception { + private static String createTemporaryDir(final String user_temp_dir) throws Exception { return (String) AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws Exception { // create the temp directory