mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
See gh-24837
This commit is contained in:
parent
9343633582
commit
e8ae18ae11
@ -8460,7 +8460,7 @@ The following example shows how to use the `ConditionEvaluationReportLoggingList
|
||||
[source,java,indent=0]
|
||||
----
|
||||
@Test
|
||||
public void autoConfigTest {
|
||||
void autoConfigTest() {
|
||||
ConditionEvaluationReportLoggingListener initializer = new ConditionEvaluationReportLoggingListener(
|
||||
LogLevel.INFO);
|
||||
ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
||||
|
@ -286,7 +286,7 @@ public class JettyWebServer implements WebServer {
|
||||
.invokeMethod(ReflectionUtils.findMethod(connector.getClass(), "getLocalPort"), connector);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
logger.info("could not determine port ( " + ex.getMessage() + ")");
|
||||
logger.info("could not determine port (" + ex.getMessage() + ")");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user