Polish Javadoc

This commit is contained in:
Sam Brannen
2014-10-23 01:06:01 +02:00
parent a011b360d1
commit 4412bc68aa
9 changed files with 60 additions and 60 deletions

View File

@@ -19,28 +19,28 @@ package org.springframework.expression.spel;
/**
* Captures the possible configuration settings for a compiler that can be
* used when evaluating expressions.
*
*
* @author Andy Clement
* @since 4.1
*/
public enum SpelCompilerMode {
/**
* The compiler is switched off, this is the default.
* The compiler is switched off; this is the default.
*/
OFF,
/**
* In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run).
/**
* In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run).
* If a compiled expression fails it will throw an exception to the caller.
*/
IMMEDIATE,
/**
* In mixed mode, expression evaluate silently switches between interpreted and compiled over time.
/**
* In mixed mode, expression evaluation silently switches between interpreted and compiled over time.
* After a number of runs the expression gets compiled. If it later fails (possibly due to inferred
* type information changing) then that will be caught internally and the system switches back to
* interpreted mode. It may subsequently compile it again later.
* interpreted mode. It may subsequently compile it again later.
*/
MIXED

View File

@@ -51,14 +51,14 @@ public class SpelParserConfiguration {
/**
* Create a new {@link SpelParserConfiguration} instance with default settings.
* Create a new {@code SpelParserConfiguration} instance with default settings.
*/
public SpelParserConfiguration() {
this(null, null, false, false, Integer.MAX_VALUE);
}
/**
* Create a new {@link SpelParserConfiguration} instance.
* Create a new {@code SpelParserConfiguration} instance.
* @param compilerMode the compiler mode for the parser
* @param compilerClassLoader the ClassLoader to use as the basis for expression compilation
*/
@@ -67,7 +67,7 @@ public class SpelParserConfiguration {
}
/**
* Create a new {@link SpelParserConfiguration} instance.
* Create a new {@code SpelParserConfiguration} instance.
* @param autoGrowNullReferences if null references should automatically grow
* @param autoGrowCollections if collections should automatically grow
* @see #SpelParserConfiguration(boolean, boolean, int)
@@ -77,7 +77,7 @@ public class SpelParserConfiguration {
}
/**
* Create a new {@link SpelParserConfiguration} instance.
* Create a new {@code SpelParserConfiguration} instance.
* @param autoGrowNullReferences if null references should automatically grow
* @param autoGrowCollections if collections should automatically grow
* @param maximumAutoGrowSize the maximum size that the collection can auto grow
@@ -87,7 +87,7 @@ public class SpelParserConfiguration {
}
/**
* Create a new {@link SpelParserConfiguration} instance.
* Create a new {@code SpelParserConfiguration} instance.
* @param compilerMode the compiler mode that parsers using this configuration object should use
* @param compilerClassLoader the ClassLoader to use as the basis for expression compilation
* @param autoGrowNullReferences if null references should automatically grow