Added:
trunk/src/jconch/cache/package.html
trunk/src/jconch/functor/package.html
trunk/src/jconch/lock/package.html
trunk/src/jconch/multikey/package.html
trunk/src/jconch/testing/DummyCallable.java
- copied, changed from r128,
/trunk/test/jconch/testing/DummyCallable.java
trunk/src/jconch/testing/DummyRunnable.java
- copied, changed from r128,
/trunk/test/jconch/testing/DummyRunnable.java
trunk/src/jconch/testing/package.html
Removed:
trunk/test/jconch/testing/DummyCallable.java
trunk/test/jconch/testing/DummyRunnable.java
Modified:
trunk/build.number
trunk/src/jconch/testing/Assert.java
Log:
Cleanup before minor release: added package level javadoc. Fixed any issues
interfering with good documentation.
Modified: trunk/build.number
==============================================================================
--- trunk/build.number (original)
+++ trunk/build.number Sun Jan 18 05:43:55 2009
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
-#Sun Jan 18 07:10:59 CST 2009
-build.number=11
+#Sun Jan 18 07:41:20 CST 2009
+build.number=20
Added: trunk/src/jconch/cache/package.html
==============================================================================
--- (empty file)
+++ trunk/src/jconch/cache/package.html Sun Jan 18 05:43:55 2009
@@ -0,0 +1,6 @@
+<body>
+<p>
+ Collection data types that provide cached look-ups in a thread-safe
manner.
+</p>
+</body>
+
Added: trunk/src/jconch/functor/package.html
==============================================================================
--- (empty file)
+++ trunk/src/jconch/functor/package.html Sun Jan 18 05:43:55 2009
@@ -0,0 +1,6 @@
+<body>
+<p>
+ Function objects used in transformations.
+</p>
+</body>
+
Added: trunk/src/jconch/lock/package.html
==============================================================================
--- (empty file)
+++ trunk/src/jconch/lock/package.html Sun Jan 18 05:43:55 2009
@@ -0,0 +1,5 @@
+<body>
+<p>
+ Locking implementations, including logically equivalent locks.
+</p>
+</body>
\ No newline at end of file
Added: trunk/src/jconch/multikey/package.html
==============================================================================
--- (empty file)
+++ trunk/src/jconch/multikey/package.html Sun Jan 18 05:43:55 2009
@@ -0,0 +1,5 @@
+<body>
+<p>
+ Provides Map keys based on multiple objects.
+</p>
+</body>
\ No newline at end of file
Modified: trunk/src/jconch/testing/Assert.java
==============================================================================
--- trunk/src/jconch/testing/Assert.java (original)
+++ trunk/src/jconch/testing/Assert.java Sun Jan 18 05:43:55 2009
@@ -21,6 +21,10 @@
private static final int MAX_THREADS = 10;
private static final int NUM_ITERATIONS = 1000;
+ private Assert() {
+ throw new AssertionError();
+ }
+
/**
* <p>The assertSynchronized method attempts to cause concurrency errors
by repeatedly invoking code on seperate threads. </p>
*
Copied: trunk/src/jconch/testing/DummyCallable.java (from r128,
/trunk/test/jconch/testing/DummyCallable.java)
==============================================================================
--- /trunk/test/jconch/testing/DummyCallable.java (original)
+++ trunk/src/jconch/testing/DummyCallable.java Sun Jan 18 05:43:55 2009
@@ -10,11 +10,16 @@
class DummyCallable implements Callable<Void> {
private boolean wasCalled = false;
- public Void call() throws Exception {
+ public Void call() {
wasCalled = true;
return null;
}
+ /**
+ * Lets you know whether this Runnable was invoked.
+ * @return
+ * true if this was invoked, false otherwise
+ */
boolean wasCalled() {
return wasCalled;
}
Copied: trunk/src/jconch/testing/DummyRunnable.java (from r128,
/trunk/test/jconch/testing/DummyRunnable.java)
==============================================================================
--- /trunk/test/jconch/testing/DummyRunnable.java (original)
+++ trunk/src/jconch/testing/DummyRunnable.java Sun Jan 18 05:43:55 2009
@@ -9,10 +9,16 @@
*/
class DummyRunnable implements Runnable {
private boolean wasCalled = false;
+
public void run() {
wasCalled = true;
}
+ /**
+ * Lets you know whether this Runnable was invoked.
+ * @return
+ * true if this was invoked, false otherwise
+ */
boolean wasCalled() {
return wasCalled;
}
Added: trunk/src/jconch/testing/package.html
==============================================================================
--- (empty file)
+++ trunk/src/jconch/testing/package.html Sun Jan 18 05:43:55 2009
@@ -0,0 +1,6 @@
+<body>
+<p>
+ A collection of useful utilities for testing concurrent and multithreaded
code.
+</p>
+</body>
+