commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r884491 - in /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime: ./ io/ platform/windows/ util/
Date Thu, 26 Nov 2009 10:30:39 GMT
Author: niallp
Date: Thu Nov 26 10:30:36 2009
New Revision: 884491

URL: http://svn.apache.org/viewvc?rev=884491&view=rev
Log:
Remove unused imports

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ByReference.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Const.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer32.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer64.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer32.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer64.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Group.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/GroupIteratorImpl.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/KillConditions.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Main.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Mutex.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/OffsetOf.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ResourceLimit.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Semaphore.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SharedMemory.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SignalAction.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Sizeof.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/User.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/UserIteratorImpl.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/WaitHow.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Directory.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/File.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInfo.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInstance.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLock.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLockImpl.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStream.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStreamImpl.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileSystemIo.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMap.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMapProvider.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Path.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Pipe.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Reader.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Stream.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Writer.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceControl.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceState.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Ascii.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ByReference.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ByReference.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ByReference.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ByReference.java
Thu Nov 26 10:30:36 2009
@@ -15,7 +15,11 @@
  */
 
 package org.apache.commons.runtime;
-import java.lang.annotation.*;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
 
 /**
  * Annotation that represents the by reference {@code Pointer} parameter.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Const.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Const.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Const.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Const.java Thu
Nov 26 10:30:36 2009
@@ -15,7 +15,11 @@
  */
 
 package org.apache.commons.runtime;
-import java.lang.annotation.*;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
 
 /**
  * Annotation that represents the const type.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /**
  * Represents the {@code const} Pointer.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer32.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer32.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer32.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer32.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /**
  * Represents the Operating System 32-bit C/C++ const pointer.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer64.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer64.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer64.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ConstPointer64.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /**
  * Represents the Operating System 64-bit C/C++ const pointer.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /**
  * Represents the {@code Pointer} as buffer.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer32.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer32.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer32.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer32.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /** Represents the Operating System 32-bit pointer C/C++ pointer.
  * <p>
  * <b>Warning:</b><br/>Using this class improperly may crash the running
JVM.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer64.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer64.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer64.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectBuffer64.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.Utils;
-
 /** Represents the Operating System 64-bit pointer C/C++ pointer.
  * <p>
  * <b>Warning:</b><br/>Using this class improperly may crash the running
JVM.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Group.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Group.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Group.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Group.java Thu
Nov 26 10:30:36 2009
@@ -19,8 +19,6 @@
 import org.apache.commons.runtime.exception.NoSuchObjectException;
 import org.apache.commons.runtime.exception.OperatingSystemException;
 
-import java.util.Iterator;
-
 /**
  * Group Information.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/GroupIteratorImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/GroupIteratorImpl.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/GroupIteratorImpl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/GroupIteratorImpl.java
Thu Nov 26 10:30:36 2009
@@ -16,7 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import java.util.Iterator;
 import java.util.NoSuchElementException;
 
 /**

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/KillConditions.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/KillConditions.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/KillConditions.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/KillConditions.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.StringManager;
-
 /**
  * How to kill the process.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java Thu
Nov 26 10:30:36 2009
@@ -22,9 +22,6 @@
 import java.io.IOException;
 import java.lang.reflect.Method;
 
-import org.apache.commons.runtime.exception.*;
-import org.apache.commons.runtime.util.Utils;
-
 /**
  * Loads the native libraries.
  * <p>

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Loader.java Thu
Nov 26 10:30:36 2009
@@ -19,7 +19,6 @@
 import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 import org.apache.commons.runtime.util.Utils;
 import java.io.File;
-import java.io.IOException;
 import java.net.URL;
 import java.util.HashMap;
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Main.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Main.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Main.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Main.java Thu Nov
26 10:30:36 2009
@@ -16,9 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.exception.*;
-import java.io.File;
-
 /**
  * Main class.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Mutex.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Mutex.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Mutex.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Mutex.java Thu
Nov 26 10:30:36 2009
@@ -19,7 +19,6 @@
 import org.apache.commons.runtime.io.Path;
 import org.apache.commons.runtime.io.Status;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.OperatingSystemException;
 import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 
 /**

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/OffsetOf.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/OffsetOf.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/OffsetOf.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/OffsetOf.java Thu
Nov 26 10:30:36 2009
@@ -15,7 +15,11 @@
  */
 
 package org.apache.commons.runtime;
-import java.lang.annotation.*;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
 
 /**
  * Annotation that represents the Structure member offsetof.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
Thu Nov 26 10:30:36 2009
@@ -17,7 +17,6 @@
 package org.apache.commons.runtime;
 
 import org.apache.commons.runtime.util.Utils;
-import java.lang.annotation.Annotation;
 
 /** Represents the Operating System 32-bit pointer C/C++ pointer.
  * <p>

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ResourceLimit.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ResourceLimit.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ResourceLimit.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/ResourceLimit.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.StringManager;
-
 /**
  * Resource Utilization limits when starting a new process.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Semaphore.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Semaphore.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Semaphore.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Semaphore.java
Thu Nov 26 10:30:36 2009
@@ -19,8 +19,6 @@
 import org.apache.commons.runtime.io.Path;
 import org.apache.commons.runtime.io.Status;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.OperatingSystemException;
-import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 
 /**
  * Semaphore class.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SharedMemory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SharedMemory.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SharedMemory.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SharedMemory.java
Thu Nov 26 10:30:36 2009
@@ -23,8 +23,6 @@
 import org.apache.commons.runtime.io.FileProtection;
 import org.apache.commons.runtime.io.Status;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.OperatingSystemException;
-import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 
 /**
  * SharedMemory class.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SignalAction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SignalAction.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SignalAction.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/SignalAction.java
Thu Nov 26 10:30:36 2009
@@ -17,8 +17,6 @@
 package org.apache.commons.runtime;
 
 import java.util.EnumMap;
-import java.util.Map;
-import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 import org.apache.commons.runtime.io.Status;
 
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Sizeof.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Sizeof.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Sizeof.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Sizeof.java Thu
Nov 26 10:30:36 2009
@@ -15,7 +15,6 @@
  */
 
 package org.apache.commons.runtime;
-import java.nio.charset.Charset;
 
 /**
  * Primitive native types size info.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/User.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/User.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/User.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/User.java Thu Nov
26 10:30:36 2009
@@ -19,8 +19,6 @@
 import org.apache.commons.runtime.exception.NoSuchObjectException;
 import org.apache.commons.runtime.exception.OperatingSystemException;
 
-import java.util.Iterator;
-
 /**
  * User Information.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/UserIteratorImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/UserIteratorImpl.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/UserIteratorImpl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/UserIteratorImpl.java
Thu Nov 26 10:30:36 2009
@@ -16,7 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import java.util.Iterator;
 import java.util.NoSuchElementException;
 
 /**

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/WaitHow.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/WaitHow.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/WaitHow.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/WaitHow.java Thu
Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime;
 
-import org.apache.commons.runtime.util.StringManager;
-
 /**
  * Determines how to wait for a Process
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Directory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Directory.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Directory.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Directory.java
Thu Nov 26 10:30:36 2009
@@ -17,20 +17,10 @@
 package org.apache.commons.runtime.io;
 
 import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
 import java.io.Closeable;
-import java.io.Flushable;
 import java.io.FileNotFoundException;
 import java.io.IOException;
-import java.io.SyncFailedException;
-import java.util.Enumeration;
 import java.util.EnumSet;
-import java.util.Vector;
 
 /**
  * Directory class.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/File.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/File.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/File.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/File.java Thu
Nov 26 10:30:36 2009
@@ -18,22 +18,10 @@
 
 import java.io.FileNotFoundException;
 import java.io.IOException;
-import java.io.Flushable;
-import java.io.IOException;
-import java.io.SyncFailedException;
-import java.net.URI;
-import java.util.Enumeration;
 import java.util.EnumSet;
-import java.util.Vector;
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Group;
 import org.apache.commons.runtime.User;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
 
 /**
  * Provides static methods for the creation, copying, deletion,

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInfo.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInfo.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInfo.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInfo.java
Thu Nov 26 10:30:36 2009
@@ -17,8 +17,6 @@
 package org.apache.commons.runtime.io;
 
 import java.io.IOException;
-import java.util.EnumSet;
-import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Group;
 import org.apache.commons.runtime.User;
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInstance.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInstance.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInstance.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileInstance.java
Thu Nov 26 10:30:36 2009
@@ -16,19 +16,6 @@
 
 package org.apache.commons.runtime.io;
 
-import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.Enumeration;
-import java.util.EnumSet;
-import java.util.Vector;
-
 /**
  * Allows creation of file instances.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLock.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLock.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLock.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLock.java
Thu Nov 26 10:30:36 2009
@@ -16,12 +16,6 @@
 
 package org.apache.commons.runtime.io;
 
-import org.apache.commons.runtime.Container;
-import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.TimeoutException;
 import java.io.IOException;
 import java.util.EnumSet;
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLockImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLockImpl.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLockImpl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileLockImpl.java
Thu Nov 26 10:30:36 2009
@@ -18,10 +18,6 @@
 
 import org.apache.commons.runtime.Container;
 import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.TimeoutException;
 import java.io.IOException;
 import java.util.EnumSet;
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStream.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStream.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStream.java
Thu Nov 26 10:30:36 2009
@@ -19,13 +19,7 @@
 import org.apache.commons.runtime.Container;
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
 import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
-import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.SyncFailedException;
 import java.nio.ByteBuffer;

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStreamImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStreamImpl.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStreamImpl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileStreamImpl.java
Thu Nov 26 10:30:36 2009
@@ -16,22 +16,7 @@
 
 package org.apache.commons.runtime.io;
 
-import org.apache.commons.runtime.Container;
 import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.SyncFailedException;
-import java.nio.ByteBuffer;
-import java.util.Enumeration;
-import java.util.EnumSet;
-import java.util.Vector;
 
 /**
  * FileStream implementation.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileSystemIo.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileSystemIo.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileSystemIo.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileSystemIo.java
Thu Nov 26 10:30:36 2009
@@ -19,9 +19,6 @@
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Pointer;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.TimeoutException;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.nio.ByteBuffer;

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMap.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMap.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMap.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMap.java
Thu Nov 26 10:30:36 2009
@@ -18,14 +18,9 @@
 
 import java.io.Closeable;
 import java.io.IOException;
-import java.util.Enumeration;
 import java.util.EnumSet;
-import java.util.Vector;
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.OperatingSystemException;
-import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 
 /**
  * Represents the memory mapped file.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMapProvider.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMapProvider.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMapProvider.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/MemoryMapProvider.java
Thu Nov 26 10:30:36 2009
@@ -24,8 +24,6 @@
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.Pointer;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.OperatingSystemException;
-import org.apache.commons.runtime.exception.UnsupportedOperatingSystemException;
 
 /**
  * Represents the memory mapped file.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Path.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Path.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Path.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Path.java Thu
Nov 26 10:30:36 2009
@@ -17,10 +17,8 @@
 package org.apache.commons.runtime.io;
 
 import java.io.IOException;
-import java.net.URI;
 import org.apache.commons.runtime.Os;
 import org.apache.commons.runtime.OsType;
-import org.apache.commons.runtime.util.StringManager;
 
 /**
  * An abstract representation of file and directory pathnames. The path

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Pipe.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Pipe.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Pipe.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Pipe.java Thu
Nov 26 10:30:36 2009
@@ -16,23 +16,11 @@
 
 package org.apache.commons.runtime.io;
 
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.Flushable;
 import java.io.IOException;
 import java.io.SyncFailedException;
-import java.net.URI;
-import java.util.Enumeration;
-import java.util.EnumSet;
-import java.util.Vector;
 import org.apache.commons.runtime.Descriptor;
 import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
 import org.apache.commons.runtime.exception.ReadOnlyDescriptorException;
-import org.apache.commons.runtime.exception.TimeoutException;
-import org.apache.commons.runtime.util.StringManager;
 
 /**
  * Pipe represents unidirectional data channel that can be used for

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Reader.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Reader.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Reader.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Reader.java
Thu Nov 26 10:30:36 2009
@@ -22,10 +22,6 @@
 import java.nio.ByteBuffer;
 import org.apache.commons.runtime.NioByteBuffer;
 import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.TimeoutException;
 
 /**
  * Reader interface.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Stream.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Stream.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Stream.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Stream.java
Thu Nov 26 10:30:36 2009
@@ -18,18 +18,8 @@
 
 package org.apache.commons.runtime.io;
 
-import java.io.Closeable;
-import java.io.Flushable;
 import java.io.IOException;
 import java.io.SyncFailedException;
-import java.nio.ByteBuffer;
-import org.apache.commons.runtime.Descriptor;
-import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
 
 /**
  * Bidirectional Stream.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Writer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Writer.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Writer.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/Writer.java
Thu Nov 26 10:30:36 2009
@@ -22,11 +22,6 @@
 import java.nio.ByteBuffer;
 import org.apache.commons.runtime.NioByteBuffer;
 import org.apache.commons.runtime.Pointer;
-import org.apache.commons.runtime.exception.ClosedDescriptorException;
-import org.apache.commons.runtime.exception.AsyncClosedDescriptorException;
-import org.apache.commons.runtime.exception.InvalidDescriptorException;
-import org.apache.commons.runtime.exception.OverlappingFileLockException;
-import org.apache.commons.runtime.exception.TimeoutException;
 
 /**
  * Writer

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceControl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceControl.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceControl.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceControl.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime.platform.windows;
 
-import java.util.EnumSet;
-
 /**
  * ServiceControl types.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceState.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceState.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceState.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/platform/windows/ServiceState.java
Thu Nov 26 10:30:36 2009
@@ -16,8 +16,6 @@
 
 package org.apache.commons.runtime.platform.windows;
 
-import java.util.EnumSet;
-
 /**
  * ServiceState enumeration.
  */

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Ascii.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Ascii.java?rev=884491&r1=884490&r2=884491&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Ascii.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Ascii.java
Thu Nov 26 10:30:36 2009
@@ -16,9 +16,6 @@
 
 package org.apache.commons.runtime.util;
 
-import java.io.PrintStream;
-import java.util.Random;
-
 /**
  * Character Classification routines.
  *



Mime
View raw message