File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
spring-core/src/main/java/org/springframework/aot Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
import org .springframework .core .SpringProperties ;
21
21
22
22
/**
23
- * Determine if AOT-processed optimizations must be used rather than the
24
- * regular runtime. Strictly for internal use within the framework.
23
+ * Utility for determining if AOT-processed optimizations must be used rather
24
+ * than the regular runtime. Strictly for internal use within the framework.
25
25
*
26
26
* @author Stephane Nicoll
27
27
* @since 6.0
@@ -31,15 +31,15 @@ public abstract class AotDetector {
31
31
/**
32
32
* System property that indicates the application should run with AOT
33
33
* generated artifacts. If such optimizations are not available, it is
34
- * recommended to throw an exception rather than falling back to the
35
- * regular runtime behavior.
34
+ * recommended to throw an exception rather than fall back to the regular
35
+ * runtime behavior.
36
36
*/
37
37
public static final String AOT_ENABLED = "spring.aot.enabled" ;
38
38
39
39
/**
40
- * Return whether AOT optimizations must be considered at runtime. This
40
+ * Determine whether AOT optimizations must be considered at runtime. This
41
41
* is mandatory in a native image but can be triggered on the JVM using
42
- * the {@value AOT_ENABLED} spring property.
42
+ * the {@value # AOT_ENABLED} Spring property.
43
43
* @return whether AOT optimizations must be considered
44
44
*/
45
45
public static boolean useGeneratedArtifacts () {
You can’t perform that action at this time.
0 commit comments