File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
spring-context/src/main/java/org/springframework/context/support
main/java/org/springframework/test/context/support
test/java/org/springframework/test/context/support Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -388,8 +388,8 @@ public boolean isAlias(String beanName) {
388
388
* Load or refresh the persistent representation of the configuration up to
389
389
* a point where the underlying bean factory is ready to create bean
390
390
* instances.
391
- * <p>This variant of {@link #refresh()} is used by Ahead of Time processing
392
- * that optimizes the application context, typically at build- time.
391
+ * <p>This variant of {@link #refresh()} is used by Ahead of Time (AOT)
392
+ * processing that optimizes the application context, typically at build time.
393
393
* <p>In this mode, only {@link BeanDefinitionRegistryPostProcessor} and
394
394
* {@link MergedBeanDefinitionPostProcessor} are invoked.
395
395
* @throws BeansException if the bean factory could not be initialized
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ protected String[] getResourceSuffixes() {
321
321
* Get the suffix to append to {@link ApplicationContext} resource locations
322
322
* when detecting default locations.
323
323
* <p>Subclasses must provide an implementation of this method that returns
324
- * a single suffix. Alternatively subclasses may provide a <em>no-op</em>
324
+ * a single suffix. Alternatively subclasses may provide a <em>no-op</em>
325
325
* implementation of this method and override {@link #getResourceSuffixes()}
326
326
* in order to provide multiple custom suffixes.
327
327
* @return the resource suffix; never {@code null} or empty
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -167,7 +167,7 @@ void processLocations() {
167
167
}
168
168
169
169
@ Test
170
- void loadContextFromLocations () throws Exception {
170
+ void loadContextFromLocations () {
171
171
assertThatExceptionOfType (UnsupportedOperationException .class ).isThrownBy (() ->
172
172
loader .loadContext (EMPTY_STRING_ARRAY ));
173
173
}
@@ -180,7 +180,7 @@ static class XmlTestCase {
180
180
181
181
static class ConfigClassTestCase {
182
182
183
- @ Configuration
183
+ @ Configuration ( proxyBeanMethods = false )
184
184
static class Config {
185
185
186
186
@ Bean
You can’t perform that action at this time.
0 commit comments