You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/09/17 09:02:22 UTC
svn commit: r816075 - in
/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime:
Semaphore.java SharedMemory.java
Author: mturk
Date: Thu Sep 17 07:02:21 2009
New Revision: 816075
URL: http://svn.apache.org/viewvc?rev=816075&view=rev
Log:
Fix javadocs
Modified:
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
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=816075&r1=816074&r2=816075&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 Sep 17 07:02:21 2009
@@ -60,8 +60,6 @@
* {@code UnsupportedOperatingSystemException} is thrown.
* </p>
* @param value The initial semaphore value.
- * @param name The file to use for semaphore on platforms that
- * require it.
*/
public static Semaphore create(int value)
throws IOException, SecurityException, OutOfMemoryError
@@ -81,9 +79,9 @@
* implementations. If such a system is not available,
* {@code UnsupportedOperatingSystemException} is thrown.
* </p>
- * @param value The initial semaphore value.
* @param file The abstract file path to use for semaphore on platforms
* that require it.
+ * @param value The initial semaphore value.
*/
public static Semaphore create(File file, int value)
throws IOException, SecurityException, OutOfMemoryError
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=816075&r1=816074&r2=816075&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 Sep 17 07:02:21 2009
@@ -80,9 +80,7 @@
* from the subsystem. In all cases, the {@code get()}
* function will return the first usable byte of memory.
* </p>
- * @param reqsize The desired size of the segment.
- * @param name The file to use for shared memory on platforms that
- * require it.
+ * @param size The desired size of the segment.
*/
public static SharedMemory create(long size)
throws IOException, SecurityException, OutOfMemoryError
@@ -110,9 +108,9 @@
* from the subsystem. In all cases, the {@code map()}
* method will return the first usable byte of memory.
* </p>
- * @param reqsize The desired size of the segment.
* @param file The abstract file path to use for shared memory on platforms
* that require it.
+ * @param size The desired size of the segment.
*/
public static SharedMemory create(File file, long size)
throws IOException, SecurityException, OutOfMemoryError