donaldp 02/04/25 18:58:27
Modified: io/src/java/org/apache/avalon/excalibur/io
StdioRedirector.java
Log:
Remove unused import
Revision Changes Path
1.2 +11 -12
jakarta-avalon-excalibur/io/src/java/org/apache/avalon/excalibur/io/StdioRedirector.java
Index: StdioRedirector.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/io/src/java/org/apache/avalon/excalibur/io/StdioRedirector.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StdioRedirector.java 11 Apr 2002 08:31:28 -0000 1.1
+++ StdioRedirector.java 26 Apr 2002 01:58:27 -0000 1.2
@@ -7,27 +7,26 @@
*/
package org.apache.avalon.excalibur.io;
+import java.io.FileDescriptor;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
-import java.io.FileOutputStream;
-import java.io.FilePermission;
-import java.io.FileInputStream;
-import java.io.FileDescriptor;
/**
* This is a utility class that makes it easy to install redirecting
- * streams into the System.in, System.out and System.err streams.
- * The streams will redirect to streams that are associated with the
- * current thread. A Stream becomes associated with the current thread
- * when a user calls one of the bind*() methods or by inheriting the
+ * streams into the System.in, System.out and System.err streams.
+ * The streams will redirect to streams that are associated with the
+ * current thread. A Stream becomes associated with the current thread
+ * when a user calls one of the bind*() methods or by inheriting the
* parent threads stream when thread is initially created. The default
* streams will redirect to the standard input, standard output and
* standard error of process.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
- * @version $Revision: 1.1 $ $Date: 2002/04/11 08:31:28 $
+ * @version $Revision: 1.2 $ $Date: 2002/04/26 01:58:27 $
*/
public final class StdioRedirector
{
@@ -129,7 +128,7 @@
final SecurityManager manager = System.getSecurityManager();
if( null != manager )
{
- final RuntimePermission permission =
+ final RuntimePermission permission =
new RuntimePermission( "StdioRedirector.setIn" );
manager.checkPermission( permission );
}
@@ -159,7 +158,7 @@
final SecurityManager manager = System.getSecurityManager();
if( null != manager )
{
- final RuntimePermission permission =
+ final RuntimePermission permission =
new RuntimePermission( "StdioRedirector.setOut" );
manager.checkPermission( permission );
}
@@ -189,7 +188,7 @@
final SecurityManager manager = System.getSecurityManager();
if( null != manager )
{
- final RuntimePermission permission =
+ final RuntimePermission permission =
new RuntimePermission( "StdioRedirector.setErr" );
manager.checkPermission( permission );
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>