Remove ApplicationInfo
Rework commit 4a69755b to remove the need for the ApplicationInfo class. The updated code now uses the auto-configuration class to compute a default persistence unit root location Closes gh-6635
This commit is contained in:
committed by
Stephane Nicoll
parent
b488a3d9a3
commit
2a22a7af12
@@ -11,9 +11,9 @@ welcome = { ->
|
||||
// Try to print using the banner interface
|
||||
if (beanFactory != null) {
|
||||
try {
|
||||
def appInfo = beanFactory.getBean("springApplicationInfo")
|
||||
def banner = beanFactory.getBean("springBootBanner")
|
||||
def out = new java.io.ByteArrayOutputStream()
|
||||
appInfo.banner.printBanner(environment, null, new java.io.PrintStream(out))
|
||||
banner.printBanner(environment, null, new java.io.PrintStream(out))
|
||||
return out.toString()
|
||||
} catch (Exception ex) {
|
||||
// Ignore
|
||||
|
||||
Reference in New Issue
Block a user