Skip to content

Commit 341bccb

Browse files
committed
Merge pull request #23571 from mnhock
* pr/23571: Update copyright of changed file Use platform-independent line separator Closes gh-23571
2 parents 797c12e + 1e2ed8a commit 341bccb

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/java

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/java/TestFormatter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ public class TestFormatter extends Formatter {
2828

2929
@Override
3030
public String format(LogRecord record) {
31-
return String.format("foo: %s -- %s\n", record.getLoggerName(), record.getMessage());
31+
return String.format("foo: %s -- %s%n", record.getLoggerName(), record.getMessage());
3232
}
3333

3434
}

0 commit comments

Comments
 (0)