Index: vm/reference/java/nio/channels/VMChannels.java =================================================================== RCS file: /cvsroot/classpath/classpath/vm/reference/java/nio/channels/VMChannels.java,v retrieving revision 1.1 diff -u -r1.1 VMChannels.java --- vm/reference/java/nio/channels/VMChannels.java 12 Jan 2005 10:08:13 -0000 1.1 +++ vm/reference/java/nio/channels/VMChannels.java 13 Jan 2005 14:28:12 -0000 @@ -49,7 +49,7 @@ import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; -public final class VMChannels +final class VMChannels { /** * This class isn't intended to be instantiated. @@ -95,7 +95,7 @@ /** * Constructs a stream that reads bytes from the given channel. */ - public static InputStream newInputStream(ReadableByteChannel ch) + static InputStream newInputStream(ReadableByteChannel ch) { if (ch instanceof FileChannelImpl) return (FileInputStream) createStream(FileInputStream.class, ch); @@ -106,7 +106,7 @@ /** * Constructs a stream that writes bytes to the given channel. */ - public static OutputStream newOutputStream(WritableByteChannel ch) + static OutputStream newOutputStream(WritableByteChannel ch) { if (ch instanceof FileChannelImpl) return (FileOutputStream) createStream(FileOutputStream.class, ch);