Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jan 11, 2021
1 parent 31de365 commit 26a68ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1274,6 +1274,7 @@ public Set<ApplicationListener<?>> getListeners() {
/**
* Set the {@link ApplicationStartup} to use for collecting startup metrics.
* @param applicationStartup the application startup to use
* @since 2.4.0
*/
public void setApplicationStartup(ApplicationStartup applicationStartup) {
this.applicationStartup = (applicationStartup != null) ? applicationStartup : ApplicationStartup.DEFAULT;
Expand All @@ -1282,6 +1283,7 @@ public void setApplicationStartup(ApplicationStartup applicationStartup) {
/**
* Returns the {@link ApplicationStartup} used for collecting startup metrics.
* @return the application startup
* @since 2.4.0
*/
public ApplicationStartup getApplicationStartup() {
return this.applicationStartup;
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -78,6 +78,7 @@ static Origin from(Object source) {
* @param source the source object or {@code null}
* @return a list of parents or an empty list if the source is {@code null}, has no
* origin, or no parent
* @since 2.4.0
*/
static List<Origin> parentsFrom(Object source) {
Origin origin = from(source);
Expand Down

0 comments on commit 26a68ca

Please sign in to comment.