Fix various Javadoc warnings

Issue: SPR-10128
This commit is contained in:
Chris Beams
2012-12-17 10:14:56 +01:00
parent 84e2be4412
commit 8597ec25ec
9 changed files with 18 additions and 20 deletions

View File

@@ -81,16 +81,16 @@ public abstract class AbstractStatelessSessionBean extends AbstractSessionBean {
/**
* @see javax.ejb.SessionBean#ejbActivate(). This method always throws an exception, as
* it should not be invoked by the EJB container.
* This method always throws an exception, as it should not be invoked by the EJB container.
* @see javax.ejb.SessionBean#ejbActivate()
*/
public void ejbActivate() throws EJBException {
throw new IllegalStateException("ejbActivate must not be invoked on a stateless session bean");
}
/**
* @see javax.ejb.SessionBean#ejbPassivate(). This method always throws an exception, as
* it should not be invoked by the EJB container.
* This method always throws an exception, as it should not be invoked by the EJB container.
* @see javax.ejb.SessionBean#ejbPassivate()
*/
public void ejbPassivate() throws EJBException {
throw new IllegalStateException("ejbPassivate must not be invoked on a stateless session bean");