Skip to content

Commit c86d193

Browse files
committed
Polish AotDetector
1 parent 656dc54 commit c86d193

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-core/src/main/java/org/springframework/aot/AotDetector.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.springframework.core.SpringProperties;
2121

2222
/**
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.
2525
*
2626
* @author Stephane Nicoll
2727
* @since 6.0
@@ -31,15 +31,15 @@ public abstract class AotDetector {
3131
/**
3232
* System property that indicates the application should run with AOT
3333
* 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.
3636
*/
3737
public static final String AOT_ENABLED = "spring.aot.enabled";
3838

3939
/**
40-
* Return whether AOT optimizations must be considered at runtime. This
40+
* Determine whether AOT optimizations must be considered at runtime. This
4141
* 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.
4343
* @return whether AOT optimizations must be considered
4444
*/
4545
public static boolean useGeneratedArtifacts() {

0 commit comments

Comments
 (0)