Commit 5794ac2
committed
Use inferred destroy method name where feasible
See https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html#destroyMethod()
>> This 'destroy method inference' is currently limited to detecting only public, no-arg methods named 'close' or 'shutdown'.
Signed-off-by: Yanming Zhou <[email protected]>1 parent c4a4b63 commit 5794ac2
File tree
4 files changed
+4
-4
lines changed- module
- spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/autoconfigure
- spring-boot-flyway/src/test/java/org/springframework/boot/flyway/autoconfigure
- spring-boot-jdbc/src/main/java/org/springframework/boot/jdbc/autoconfigure
- spring-boot-liquibase/src/test/java/org/springframework/boot/liquibase/autoconfigure
4 files changed
+4
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| |||
0 commit comments