Spring Boot 2.0 Compatibility

Previously, the library utilized an API from Spring Boot that arrived in
2.1.0.  Support for Spring Boot 2.0 compatibility was requested and we can
trivially add that support even though Boot 2.0 is EOL.  This change updates
the use of the API to be Boot 2.0 compatible.

Signed-off-by: Ben Hale <bhale@vmware.com>
This commit is contained in:
Ben Hale
2020-08-27 12:05:08 -07:00
parent 7daf958e1c
commit dd3f97ea00
5 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ public final class BindingFlattenedEnvironmentPostProcessor implements Applicati
@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
this.log.switchTo(getClass());
this.log.replayTo(getClass());
}
@Override

View File

@@ -82,7 +82,7 @@ public final class BindingSpecificEnvironmentPostProcessor implements Applicatio
@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
LOG.switchTo(getClass());
LOG.replayTo(getClass());
}
@Override

View File

@@ -68,6 +68,6 @@ public final class SpringSecurityOAuth2BindingsPropertiesProcessor implements Bi
@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
LOG.switchTo(getClass());
LOG.replayTo(getClass());
}
}

View File

@@ -116,6 +116,6 @@ public final class VaultBindingsPropertiesProcessor implements BindingsPropertie
@Override
public void onApplicationEvent(ApplicationPreparedEvent event) {
LOG.switchTo(getClass());
LOG.replayTo(getClass());
}
}