Skip to content

Commit 0e6cf07

Browse files
vpavicsnicoll
authored andcommitted
Polish LogFileWebEndpoint
See gh-32049
1 parent 08dcc5e commit 0e6cf07

File tree

1 file changed

+4
-4
lines changed
  • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging

1 file changed

+4
-4
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LogFileWebEndpoint.java

Lines changed: 4 additions & 4 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-2022 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.
@@ -41,13 +41,13 @@ public class LogFileWebEndpoint {
4141

4242
private static final Log logger = LogFactory.getLog(LogFileWebEndpoint.class);
4343

44-
private File externalFile;
45-
4644
private final LogFile logFile;
4745

46+
private final File externalFile;
47+
4848
public LogFileWebEndpoint(LogFile logFile, File externalFile) {
49-
this.externalFile = externalFile;
5049
this.logFile = logFile;
50+
this.externalFile = externalFile;
5151
}
5252

5353
@ReadOperation(produces = "text/plain; charset=UTF-8")

0 commit comments

Comments
 (0)