Author: simonetripodi
Date: Fri Dec 21 21:30:59 2012
New Revision: 1425151
URL: http://svn.apache.org/viewvc?rev=1425151&view=rev
Log:
[DIGESTER-170] Digester.pop(String) throws EmptyStackException where API doc
says it returns null
Modified:
commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/Digester.java
Modified:
commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/Digester.java
URL:
http://svn.apache.org/viewvc/commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/Digester.java?rev=1425151&r1=1425150&r2=1425151&view=diff
==============================================================================
---
commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/Digester.java
(original)
+++
commons/proper/digester/trunk/core/src/main/java/org/apache/commons/digester3/Digester.java
Fri Dec 21 21:30:59 2012
@@ -2735,8 +2735,8 @@ 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 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
+ * @return the top <code>Object</code> on the stack or throws {@code
EmptyStackException}
+ * if the stack is either empty or has not been created yet
* @since 1.6
*/
public <T> T pop( String stackName )