Rename LogMessage.lazy(Supplier) to LogMessage.of(Supplier)

See gh-22726
This commit is contained in:
Juergen Hoeller
2019-04-04 10:39:42 +02:00
parent 9080ae24f9
commit 52f90c303e
3 changed files with 24 additions and 24 deletions

View File

@@ -28,7 +28,7 @@ public class LogSupportTests {
@Test
public void testLogMessageWithSupplier() {
LogMessage msg = LogMessage.lazy(() -> new StringBuilder("a").append(" b"));
LogMessage msg = LogMessage.of(() -> new StringBuilder("a").append(" b"));
assertEquals("a b", msg.toString());
assertSame(msg.toString(), msg.toString());
}