commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1128692 - /commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Date Sat, 28 May 2011 16:04:06 GMT
Author: simonetripodi
Date: Sat May 28 16:04:05 2011
New Revision: 1128692

URL: http://svn.apache.org/viewvc?rev=1128692&view=rev
Log:
fixed javadoc violation: Unused @throws tag for 'EmptyStackException'.

Modified:
    commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java

Modified: commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java?rev=1128692&r1=1128691&r2=1128692&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
(original)
+++ commons/sandbox/digester3/trunk/src/main/java/org/apache/commons/digester3/Digester.java
Sat May 28 16:04:05 2011
@@ -2537,7 +2537,6 @@ public class Digester
      * @param stackName the name of the stack from which the top value is to be popped.
      * @return the top <code>Object</code> on the stack or or null if the stack
is either empty or has not been created
      *         yet
-     * @throws EmptyStackException if the named stack is empty
      * @since 1.6
      */
     public <T> T pop( String stackName )
@@ -2574,7 +2573,6 @@ public class Digester
      * @param <T> the type used to auto-cast the returned object to the assigned variable
type
      * @param stackName the name of the stack to be peeked
      * @return the top <code>Object</code> on the stack or null if the stack
is either empty or has not been created yet
-     * @throws EmptyStackException if the named stack is empty
      * @since 1.6
      */
     public <T> T peek( String stackName )
@@ -2594,7 +2592,6 @@ public class Digester
      * @param stackName the name of the stack to be peeked
      * @param n Index of the desired element, where 0 is the top of the stack, 1 is the next
element down, and so on.
      * @return the specified <code>Object</code> on the stack.
-     * @throws EmptyStackException if the named stack is empty
      * @since 1.6
      */
     public <T> T peek( String stackName, int n )



Mime
View raw message