File tree 2 files changed +5
-2
lines changed
spring-boot-project/spring-boot/src/main/java/org/springframework/boot 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2020 the original author or authors.
2
+ * Copyright 2012-2021 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.
@@ -1274,6 +1274,7 @@ public Set<ApplicationListener<?>> getListeners() {
1274
1274
/**
1275
1275
* Set the {@link ApplicationStartup} to use for collecting startup metrics.
1276
1276
* @param applicationStartup the application startup to use
1277
+ * @since 2.4.0
1277
1278
*/
1278
1279
public void setApplicationStartup (ApplicationStartup applicationStartup ) {
1279
1280
this .applicationStartup = (applicationStartup != null ) ? applicationStartup : ApplicationStartup .DEFAULT ;
@@ -1282,6 +1283,7 @@ public void setApplicationStartup(ApplicationStartup applicationStartup) {
1282
1283
/**
1283
1284
* Returns the {@link ApplicationStartup} used for collecting startup metrics.
1284
1285
* @return the application startup
1286
+ * @since 2.4.0
1285
1287
*/
1286
1288
public ApplicationStartup getApplicationStartup () {
1287
1289
return this .applicationStartup ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2020 the original author or authors.
2
+ * Copyright 2012-2021 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.
@@ -78,6 +78,7 @@ static Origin from(Object source) {
78
78
* @param source the source object or {@code null}
79
79
* @return a list of parents or an empty list if the source is {@code null}, has no
80
80
* origin, or no parent
81
+ * @since 2.4.0
81
82
*/
82
83
static List <Origin > parentsFrom (Object source ) {
83
84
Origin origin = from (source );
You can’t perform that action at this time.
0 commit comments