Polish ref docs
- stop referring to Java Config as new - stop referring to Struts 2.x as if it were new - polish AOT documentation - etc.
This commit is contained in:
@@ -38,4 +38,5 @@ public class SampleReflection {
|
||||
logger.error("reflection failed", exc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -29,8 +29,9 @@ import org.springframework.core.SpringVersion;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
// This annotation conditions the execution of tests only if the agent is loaded in the current JVM
|
||||
// it also tags tests with the "RuntimeHints" JUnit tag
|
||||
// @EnabledIfRuntimeHintsAgent signals that the annotated test class or test
|
||||
// method is only enabled if the RuntimeHintsAgent is loaded on the current JVM.
|
||||
// It also tags tests with the "RuntimeHints" JUnit tag.
|
||||
@EnabledIfRuntimeHintsAgent
|
||||
class SampleReflectionRuntimeHintsTests {
|
||||
|
||||
|
||||
@@ -44,4 +44,5 @@ public class SpellCheckServiceTests {
|
||||
hints.resources().registerPattern("dicts/*");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -38,15 +38,13 @@ public class AotProcessingSample {
|
||||
@ComponentScan
|
||||
@Import({DataSourceConfiguration.class, ContainerConfiguration.class})
|
||||
public class MyApplication {
|
||||
|
||||
}
|
||||
// end::myapplication[]
|
||||
|
||||
class DataSourceConfiguration {
|
||||
|
||||
}
|
||||
|
||||
class ContainerConfiguration {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user