Skip to content

Commit ebe128e

Browse files
committed
Polishing
1 parent c34a62e commit ebe128e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

spring-context/src/main/java/org/springframework/scripting/support/StandardScriptUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public abstract class StandardScriptUtils {
4343
* @param engineName the name of the engine
4444
* @return a corresponding ScriptEngine (never {@code null})
4545
* @throws IllegalArgumentException if no matching engine has been found
46-
* @throws IllegalStateException if no matching engine has been found or if
46+
* @throws IllegalStateException if the desired engine failed to initialize
4747
*/
4848
public static ScriptEngine retrieveEngineByName(ScriptEngineManager scriptEngineManager, String engineName) {
4949
ScriptEngine engine = scriptEngineManager.getEngineByName(engineName);

spring-tx/src/main/java/org/springframework/transaction/interceptor/AbstractFallbackTransactionAttributeSource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ protected Object getCacheKey(Method method, Class<?> targetClass) {
129129
/**
130130
* Same signature as {@link #getTransactionAttribute}, but doesn't cache the result.
131131
* {@link #getTransactionAttribute} is effectively a caching decorator for this method.
132+
* <p>As of 4.1.8, this method can be overridden.
133+
* @since 4.1.8
132134
* @see #getTransactionAttribute
133135
*/
134136
protected TransactionAttribute computeTransactionAttribute(Method method, Class<?> targetClass) {

spring-web/src/main/java/org/springframework/web/cors/DefaultCorsProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import org.springframework.web.util.WebUtils;
3838

3939
/**
40-
* Default implementation of {@link CorsProcessor}, as defined by the
40+
* The default implementation of {@link CorsProcessor}, as defined by the
4141
* <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>.
4242
*
4343
* <p>Note that when input {@link CorsConfiguration} is {@code null}, this
@@ -47,7 +47,7 @@
4747
* as a same-origin one.
4848
*
4949
* @author Sebastien Deleuze
50-
* @author Rossen Stoyanhcev
50+
* @author Rossen Stoyanchev
5151
* @since 4.2
5252
*/
5353
public class DefaultCorsProcessor implements CorsProcessor {

0 commit comments

Comments
 (0)