Author: markt Date: Thu Jul 30 18:13:36 2009 New Revision: 799396 URL: http://svn.apache.org/viewvc?rev=799396&view=rev Log: https://issues.apache.org/bugzilla/show_bug.cgi?id=47576 Fix exception name in Javadoc Patch provided by sebb
Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java?rev=799396&r1=799395&r2=799396&view=diff ============================================================================== --- tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java (original) +++ tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java Thu Jul 30 18:13:36 2009 @@ -266,7 +266,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection<? super E> c, int maxElements) { throw new UnsupportedOperationException("int drainTo(Collection<? super E> c, int maxElements)"); @@ -274,7 +274,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection<? super E> c) { @@ -316,7 +316,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public void clear() { throw new UnsupportedOperationException("void clear()"); @@ -325,7 +325,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean containsAll(Collection<?> c) { throw new UnsupportedOperationException("boolean containsAll(Collection<?> c)"); @@ -340,7 +340,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean removeAll(Collection<?> c) { throw new UnsupportedOperationException("boolean removeAll(Collection<?> c)"); @@ -348,7 +348,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean retainAll(Collection<?> c) { throw new UnsupportedOperationException("boolean retainAll(Collection<?> c)"); @@ -356,7 +356,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public Object[] toArray() { throw new UnsupportedOperationException("Object[] toArray()"); @@ -364,7 +364,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public <T> T[] toArray(T[] a) { throw new UnsupportedOperationException("<T> T[] toArray(T[] a)"); @@ -372,7 +372,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E element() { throw new UnsupportedOperationException("E element()"); @@ -380,7 +380,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E peek() { throw new UnsupportedOperationException("E peek()"); @@ -388,7 +388,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E remove() { throw new UnsupportedOperationException("E remove()"); Modified: tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java?rev=799396&r1=799395&r2=799396&view=diff ============================================================================== --- tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java (original) +++ tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java Thu Jul 30 18:13:36 2009 @@ -284,7 +284,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection<? super E> c, int maxElements) { throw new UnsupportedOperationException("int drainTo(Collection<? super E> c, int maxElements)"); @@ -292,7 +292,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection<? super E> c) { return drainTo(c,Integer.MAX_VALUE); @@ -333,7 +333,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public void clear() { throw new UnsupportedOperationException("void clear()"); @@ -342,7 +342,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean containsAll(Collection<?> c) { throw new UnsupportedOperationException("boolean containsAll(Collection<?> c)"); @@ -357,7 +357,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean removeAll(Collection<?> c) { throw new UnsupportedOperationException("boolean removeAll(Collection<?> c)"); @@ -365,7 +365,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public boolean retainAll(Collection<?> c) { throw new UnsupportedOperationException("boolean retainAll(Collection<?> c)"); @@ -373,7 +373,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public Object[] toArray() { throw new UnsupportedOperationException("Object[] toArray()"); @@ -381,7 +381,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public <T> T[] toArray(T[] a) { throw new UnsupportedOperationException("<T> T[] toArray(T[] a)"); @@ -389,7 +389,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E element() { throw new UnsupportedOperationException("E element()"); @@ -397,7 +397,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E peek() { throw new UnsupportedOperationException("E peek()"); @@ -405,7 +405,7 @@ /** * {...@inheritdoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E remove() { throw new UnsupportedOperationException("E remove()"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org