Skip to content

Commit

Permalink
Merge pull request #32049 from vpavic
Browse files Browse the repository at this point in the history
* pr/32049:
  Polish LogFileWebEndpoint

Closes gh-32049
  • Loading branch information
snicoll committed Aug 10, 2022
2 parents 08dcc5e + 0e6cf07 commit 06e1470
Showing 1 changed file with 4 additions and 4 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -41,13 +41,13 @@ public class LogFileWebEndpoint {

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

private File externalFile;

private final LogFile logFile;

private final File externalFile;

public LogFileWebEndpoint(LogFile logFile, File externalFile) {
this.externalFile = externalFile;
this.logFile = logFile;
this.externalFile = externalFile;
}

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

0 comments on commit 06e1470

Please sign in to comment.