Polishing

This commit is contained in:
Juergen Hoeller 2015-09-24 00:33:14 +02:00
parent c34a62e141
commit ebe128e940
3 changed files with 5 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public abstract class StandardScriptUtils {
* @param engineName the name of the engine * @param engineName the name of the engine
* @return a corresponding ScriptEngine (never {@code null}) * @return a corresponding ScriptEngine (never {@code null})
* @throws IllegalArgumentException if no matching engine has been found * @throws IllegalArgumentException if no matching engine has been found
* @throws IllegalStateException if no matching engine has been found or if * @throws IllegalStateException if the desired engine failed to initialize
*/ */
public static ScriptEngine retrieveEngineByName(ScriptEngineManager scriptEngineManager, String engineName) { public static ScriptEngine retrieveEngineByName(ScriptEngineManager scriptEngineManager, String engineName) {
ScriptEngine engine = scriptEngineManager.getEngineByName(engineName); ScriptEngine engine = scriptEngineManager.getEngineByName(engineName);

View File

@ -129,6 +129,8 @@ public abstract class AbstractFallbackTransactionAttributeSource implements Tran
/** /**
* Same signature as {@link #getTransactionAttribute}, but doesn't cache the result. * Same signature as {@link #getTransactionAttribute}, but doesn't cache the result.
* {@link #getTransactionAttribute} is effectively a caching decorator for this method. * {@link #getTransactionAttribute} is effectively a caching decorator for this method.
* <p>As of 4.1.8, this method can be overridden.
* @since 4.1.8
* @see #getTransactionAttribute * @see #getTransactionAttribute
*/ */
protected TransactionAttribute computeTransactionAttribute(Method method, Class<?> targetClass) { protected TransactionAttribute computeTransactionAttribute(Method method, Class<?> targetClass) {

View File

@ -37,7 +37,7 @@ import org.springframework.util.CollectionUtils;
import org.springframework.web.util.WebUtils; import org.springframework.web.util.WebUtils;
/** /**
* Default implementation of {@link CorsProcessor}, as defined by the * The default implementation of {@link CorsProcessor}, as defined by the
* <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>. * <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>.
* *
* <p>Note that when input {@link CorsConfiguration} is {@code null}, this * <p>Note that when input {@link CorsConfiguration} is {@code null}, this
@ -47,7 +47,7 @@ import org.springframework.web.util.WebUtils;
* as a same-origin one. * as a same-origin one.
* *
* @author Sebastien Deleuze * @author Sebastien Deleuze
* @author Rossen Stoyanhcev * @author Rossen Stoyanchev
* @since 4.2 * @since 4.2
*/ */
public class DefaultCorsProcessor implements CorsProcessor { public class DefaultCorsProcessor implements CorsProcessor {