From: markt Date: Thu, 30 Jul 2009 18:13:36 +0000 (+0000) Subject: https://issues.apache.org/bugzilla/show_bug.cgi?id=47576 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=950efcc93b30bc1397b747477a06472c20207215;p=tomcat7.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=47576 Fix exception name in Javadoc Patch provided by sebb git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@799396 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java b/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java index 59adf0fdd..6dfde4251 100644 --- a/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java +++ b/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java @@ -266,7 +266,7 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection c, int maxElements) { throw new UnsupportedOperationException("int drainTo(Collection c, int maxElements)"); @@ -274,7 +274,7 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection c) { @@ -316,7 +316,7 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public T[] toArray(T[] a) { throw new UnsupportedOperationException(" T[] toArray(T[] a)"); @@ -372,7 +372,7 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class FairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E remove() { throw new UnsupportedOperationException("E remove()"); diff --git a/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java b/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java index e73443746..1ec8064a0 100644 --- a/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java +++ b/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java @@ -284,7 +284,7 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection c, int maxElements) { throw new UnsupportedOperationException("int drainTo(Collection c, int maxElements)"); @@ -292,7 +292,7 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public int drainTo(Collection c) { return drainTo(c,Integer.MAX_VALUE); @@ -333,7 +333,7 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public T[] toArray(T[] a) { throw new UnsupportedOperationException(" T[] toArray(T[] a)"); @@ -389,7 +389,7 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@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 @@ public class MultiLockFairBlockingQueue implements BlockingQueue { /** * {@inheritDoc} - * @throws UnsupportedOperation - this operation is not supported + * @throws UnsupportedOperationException - this operation is not supported */ public E remove() { throw new UnsupportedOperationException("E remove()");