Permalink
Browse files

Fix various Javadoc warnings

Issue: SPR-10128
  • Loading branch information...
1 parent 84e2be4 commit 8597ec25ec4da57b93aaf956b1219db4d214e961 @cbeams cbeams committed Dec 17, 2012
@@ -121,8 +121,8 @@ public void absquatulate() {
/**
* This and target are equivalent. Really instanceof pointcuts.
- * @throws Exception
* @param which this or target
+ * @throws Exception
* @throws NoSuchMethodException
* @throws SecurityException
*/
@@ -367,4 +367,4 @@ public void reset() {
this.count = 0;
}
-}
+}
@@ -106,7 +106,7 @@ public abstract aspect AbstractMethodMockingControl percflow(mockStaticsTestMeth
* Validate the call and provide the expected return value
* @param lastSig
* @param args
- * @return
+ * @return the return value
*/
public Object respond(String lastSig, Object[] args) {
Call call = nextCall();
@@ -630,8 +630,8 @@ public void testSetBean() throws Exception {
* public static <T> T createMock(Class<T> toMock)
* }</pre>
*
+ * See SPR-9493
* @since 3.2
- * @see SPR-9493
*/
@Test
public void parameterizedFactoryMethod() {
@@ -81,16 +81,16 @@ public void ejbCreate() throws CreateException {
/**
- * @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");
@@ -41,7 +41,7 @@
/**
* Tests for auto proxy creation by advisor recognition.
*
- * @see org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorIntegrationTests;
+ * @see org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorIntegrationTests
*
* @author Rod Johnson
* @author Dave Syer
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2011 the original author or authors.
+ * Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -102,8 +102,8 @@
* explicit active profiles, whether one or more of the given profiles is included in
* the set of default profiles. If a profile begins with '!' the logic is inverted,
* i.e. the method will return true if the given profile is <em>not</em> active. For
- * example, {@code env.acceptsProfiles("p1", "!p2")} will return true if profile 'p1'
- * is active or 'p2' is not active.
+ * example, <pre>env.acceptsProfiles("p1", "!p2")</pre> will return true if profile
+ * 'p1' is active or 'p2' is not active.
* @throws IllegalArgumentException if called with zero arguments
* @throws IllegalArgumentException if any profile is null, empty or whitespace-only
* @see #getActiveProfiles
@@ -36,7 +36,7 @@
* float, Float, double, Double, BigDecimal, <code>java.util.Date</code>, etc.
*
* <p>The mapper can be configured to use the primitives default value when mapping null values
- * by setting the {@link #setPrimitivesDefaultedForNullValue 'primitivesDefaultedForNullValue'}
+ * by setting the '{@link #setPrimitivesDefaultedForNullValue primitivesDefaultedForNullValue}'
* flag to 'true'.
*
* <p>To facilitate mapping between columns and fields that don't have matching names,
@@ -251,7 +251,7 @@ public void testBuildWithSelectStatements() throws Exception {
}
/**
- * @see SPR-9457
+ * See SPR-9457
*/
@Test
public void usesBoundConnectionIfAvailable() throws SQLException {
@@ -269,7 +269,7 @@ public void usesBoundConnectionIfAvailable() throws SQLException {
}
/**
- * @see SPR-9781
+ * See SPR-9781
*/
@Test(timeout = 1000)
public void executesHugeScriptInReasonableTime() throws SQLException {
@@ -1,9 +1,7 @@
-
/**
- * MVC infrastructure for annotation-based handler method processing,
- * building on the <code>org.springframework.web.method.annotation</code> package.
- * Entry points are {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping}
+ * MVC infrastructure for annotation-based handler method processing, building on the
+ * {@code org.springframework.web.method.annotation} package. Entry points are
+ * {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping}
* and {@link org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter}.
*/
package org.springframework.web.servlet.mvc.method.annotation;
-

0 comments on commit 8597ec2

Please sign in to comment.