openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r421775 - in /incubator/openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ openjpa-kernel/src/main/java/org/apache/openjpa/event/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-kernel/src/main/java/org/...
Date Fri, 14 Jul 2006 00:47:44 GMT
Author: pcl
Date: Thu Jul 13 17:47:40 2006
New Revision: 421775

URL: http://svn.apache.org/viewvc?rev=421775&view=rev
Log:
more javadoc fixes

Modified:
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/TransactionEvent.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractLockManager.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FindCallbacks.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/LockManager.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/OpCallbacks.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PCState.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreContext.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AggregateListener.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/FilterListener.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FetchGroup.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java
    incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java
    incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java
    incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
Thu Jul 13 17:47:40 2006
@@ -2112,7 +2112,7 @@
 
     /**
      * Adds a custom writeObject method that delegates to the
-     * {@link ObjectInputStream#writeObject} method,
+     * {@link ObjectOutputStream#defaultWriteObject} method,
      * but only after calling the internal <code>pcSerializing</code> method.
      */
     private void modifyWriteObjectMethod(BCMethod method, boolean full) {

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/TransactionEvent.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/TransactionEvent.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/TransactionEvent.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/TransactionEvent.java
Thu Jul 13 17:47:40 2006
@@ -92,7 +92,7 @@
     /**
      * Constructor.
      *
-     * @param pm the event source
+     * @param broker the event source
      * @param type the event type
      * @param objs transactional objects
      * @param addClss classes of added instances

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractLockManager.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractLockManager.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractLockManager.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AbstractLockManager.java
Thu Jul 13 17:47:40 2006
@@ -50,7 +50,7 @@
     }
 
     /**
-     * Delegates to {@link #lock} with each element of the collection.
+     * Delegates to {@link LockManager#lock} with each element of the collection
      */
     public void lockAll(Collection sms, int level, int timeout,
         Object context) {

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfiguration.java
Thu Jul 13 17:47:40 2006
@@ -225,8 +225,6 @@
 
     /**
      * Return the root instances.
-     *
-     * @return
      */
     public Set getRootClasses();
 

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchStateImpl.java
Thu Jul 13 17:47:40 2006
@@ -114,7 +114,6 @@
      * Get the recusion depth for the given field.
      *
      * @param fm is the field to look for
-     * @param depths is the map of field to integer depth.
      * @return 0 if the field does not appear in the given map.
      */
     protected int getRecursionDepth(FieldMetaData fm) {

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FindCallbacks.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FindCallbacks.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FindCallbacks.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FindCallbacks.java
Thu Jul 13 17:47:40 2006
@@ -24,8 +24,8 @@
 public interface FindCallbacks {
 
     /**
-     * Process find argument. Throw proper {@link OpenJPAException}
-     * for illegal value.
+     * Process find argument. Throw proper 
+     * {@link org.apache.openjpa.util.OpenJPAException} for illegal value.
      *
      * @return the id to look up, or null to ignore this argument
      */

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/LockManager.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/LockManager.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/LockManager.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/LockManager.java
Thu Jul 13 17:47:40 2006
@@ -60,8 +60,8 @@
      * to the persistence context, if any; lock managers
      * specific to a certain back end may be able to take
      * advantage of this; others should ignore it
-     * @throws LockException if a lock cannot be obtained in the
-     * given number of milliseconds
+     * @throws org.apache.openjpa.util.LockException if a lock cannot be 
+     * obtained in the given number of milliseconds
      * @see OpenJPAStateManager#setLock
      */
     public void lock(OpenJPAStateManager sm, int level, int timeout,

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/OpCallbacks.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/OpCallbacks.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/OpCallbacks.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/OpCallbacks.java
Thu Jul 13 17:47:40 2006
@@ -40,8 +40,8 @@
     public static final int ACT_RUN = 2 << 1;
 
     /**
-     * Process operation argument. Throw proper {@link OpenJPAException}
-     * for illegal value.
+     * Process operation argument. Throw proper 
+     * {@link org.apache.openjpa.util.OpenJPAException} for illegal value.
      *
      * @param op the operation constant
      * @param arg the object passed to the operation

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PCState.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PCState.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PCState.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/PCState.java
Thu Jul 13 17:47:40 2006
@@ -230,7 +230,7 @@
 
     /**
      * Perform any actions necesssary and return the proper lifecycle state
-     * on a call to {@link Broker#makeNontransactional} with the given
+     * on a call to {@link StoreContext#nontransactional} with the given
      * instance. Returns the <code>this</code> pointer by default.
      */
     PCState nontransactional(StateManagerImpl context) {
@@ -239,7 +239,7 @@
 
     /**
      * Perform any actions necesssary and return the proper lifecycle state
-     * on a call to {@link Broker#makeNontransactional} with the given
+     * on a call to {@link StoreContext#nontransactional} with the given
      * instance. Returns the <code>this</code> pointer by default.
      */
     PCState transactional(StateManagerImpl context) {

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreContext.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreContext.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreContext.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreContext.java
Thu Jul 13 17:47:40 2006
@@ -148,8 +148,9 @@
 
     /**
      * Return an iterator over all instances of the given type. The iterator
-     * should be closed with {@link ImplHelper#close} when no longer needed.
-     * This method delegates to {@link StoreManager#executeExtent}.
+     * should be closed with {@link org.apache.openjpa.util.ImplHelper#close} 
+     * when no longer needed. This method delegates to 
+     * {@link StoreManager#executeExtent}.
      */
     public Iterator extentIterator(Class cls, boolean subs,
         FetchConfiguration fetch, boolean ignoreChanges);
@@ -383,7 +384,7 @@
      * will have to flush instances of objects for each class of object
      * modified during the transaction. A side benefit of large transaction
      * mode is that smaller update messages can be used for
-     * {@link RemoteCommitEvent}s. Defaults to false.
+     * {@link org.apache.openjpa.event.RemoteCommitEvent}s. Defaults to false.
      *
      * @since 3.4
      */

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StoreQuery.java
Thu Jul 13 17:47:40 2006
@@ -231,7 +231,7 @@
          * in memory. If this exeuctor's parent query supports executors on
          * abstract or interface classes, this method will not be used.
          *
-         * @see StoreQuery#supportsAbstractExecutor
+         * @see StoreQuery#supportsAbstractExecutors
          */
         public Object getOrderingValue(StoreQuery q, Object[] params,
             Object resultObject, int orderIndex);

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AbstractExpressionBuilder.java
Thu Jul 13 17:47:40 2006
@@ -74,7 +74,6 @@
      * Constructor.
      *
      * @param factory the expression factory to use
-     * @param meta candidate class metadata
      * @param resolver used to resolve variables, parameters, and class
      * names used in the query
      */

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AggregateListener.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AggregateListener.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AggregateListener.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/AggregateListener.java
Thu Jul 13 17:47:40 2006
@@ -53,8 +53,8 @@
      * @param candidates the candidate objects being evaluated
      * @param ctx the persistence context
      * @return the value of the aggregate
-     * @throws UserException if this aggregate does not support
-     * in-memory operation
+     * @throws org.apache.openjpa.util.UserException if this aggregate does not 
+     * support in-memory operation
      */
     public Object evaluate(Collection args, Class[] argClasses,
         Collection candidates, StoreContext ctx);

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/FilterListener.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/FilterListener.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/FilterListener.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/exps/FilterListener.java
Thu Jul 13 17:47:40 2006
@@ -69,8 +69,8 @@
      * @return the value of the extension for this candidate; if
      * this extension is an expression, this method should
      * return {@link Boolean#TRUE} or {@link Boolean#FALSE}
-     * @throws UserException if this extension does not support
-     * in-memory operation
+     * @throws org.apache.openjpa.util.UserException if this extension does not 
+     * support in-memory operation
      */
     public Object evaluate(Object target, Class targetClass, Object[] args,
         Class[] argClasses, Object candidate, StoreContext ctx);

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/JPQLExpressionBuilder.java
Thu Jul 13 17:47:40 2006
@@ -1577,7 +1577,7 @@
         /**
          * Debugging method.
          *
-         * @see dump(java.io.PrintStream,String)
+         * @see #dump(java.io.PrintStream,String)
          */
         public void dump(String prefix) {
             dump(System.out, prefix);

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FetchGroup.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FetchGroup.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FetchGroup.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FetchGroup.java
Thu Jul 13 17:47:40 2006
@@ -50,7 +50,7 @@
     /**
      * Supply immutable name.
      *
-     * @param must not by null or empty.
+     * @param name must not by null or empty.
      */
     FetchGroup(ClassMetaData cm, String name) {
         super();
@@ -94,7 +94,6 @@
      * @param fg
      * @param recurse if true then recursively checks within the included
      * fecth groups. Otherwise just checks within direct includes.
-     * @return
      */
     public boolean includes(FetchGroup fg, boolean recurse) {
         if (_includes == null)

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/util/ImplHelper.java
Thu Jul 13 17:47:40 2006
@@ -251,7 +251,6 @@
      *
      * @param type the class to test
      * @return true if the class is manageable.
-     * @param conf the configuration that defines the current context
      */
     public static boolean isManagedType(Class type) {
         return PersistenceCapable.class.isAssignableFrom(type);
@@ -265,5 +264,5 @@
      */
     public static boolean isManageable(Object instance) {
         return instance instanceof PersistenceCapable;
-	}
+    }
 }

Modified: incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java
(original)
+++ incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/StringDistance.java
Thu Jul 13 17:47:40 2006
@@ -111,7 +111,7 @@
      * @see #getLevenshteinDistance
      */
     public static String getClosestLevenshteinDistance(String str,
-        Collection candidates, int threshhold) {
+        Collection candidates, int threshold) {
         if (candidates == null || candidates.isEmpty())
             return null;
 
@@ -128,7 +128,7 @@
         }
 
         // return the lowest close string only if we surpass the threshhold
-        if (minValue <= threshhold)
+        if (minValue <= threshold)
             return minString;
         else
             return null;

Modified: incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java
(original)
+++ incubator/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/ConcurrentHashMap.java
Thu Jul 13 17:47:40 2006
@@ -287,7 +287,7 @@
      * Returns <tt>true</tt> if this map contains a mapping for the
      * specified key.
      *
-     * @param keyThe key whose presence in this map is to be tested
+     * @param key The key whose presence in this map is to be tested
      * @return <tt>true</tt> if this map contains a mapping for the specified
      * key.
      */

Modified: incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java?rev=421775&r1=421774&r2=421775&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java
(original)
+++ incubator/openjpa/trunk/openjpa-lib/src/test/java/org/apache/openjpa/lib/test/AbstractTestCase.java
Thu Jul 13 17:47:40 2006
@@ -548,9 +548,9 @@
      * error message
      * @param serialCount the number of times to run the method
      * serially before spawning threads.
-     * @param thread the number of Threads to run in
+     * @param threads the number of Threads to run in
      * @param iterations the number of times the method should
-     * @param runnner the VolatileRunnable that will execute
+     * @param runner the VolatileRunnable that will execute
      * the actual test from within the Thread.
      * @throws ThreadingException if an errors occur in
      * any of the Threads. The actual exceptions
@@ -766,8 +766,8 @@
      * <p/>
      * <strong>Warning</strong> this method should be used sparingly,
      * and only when you expect that a timeout will <strong>not</strong>
-     * occur. It utilized the deprecated {@link Thread.stop} and
-     * {@link Thread.interrupt} methods, which can leave monitors in an
+     * occur. It utilized the deprecated {@link Thread#stop()} and
+     * {@link Thread#interrupt} methods, which can leave monitors in an
      * invalid state. It is only used because it provides more
      * meaningful information than just seeing that the entire autobuild
      * timed out.



Mime
View raw message