Update SpringBootServletInitializer ref docs

Add a hint to show that the `configure` method is now optional.

Fixes gh-2074
pull/2106/head
Phillip Webb 10 years ago
parent 400b664098
commit 119a5656e2

@ -2092,7 +2092,10 @@ Example:
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(Application.class);
// Customize the application or call application.sources(...) to add sources
// Since our example is itself a @Configuration class we actually don't
// need to override this method.
return application;
}
}

Loading…
Cancel
Save