Skip to content

Commit

Permalink
quote path in log statement (#4669)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak authored Oct 8, 2024
1 parent 2c08f40 commit 252a540
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/*
* Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
* Portions Copyright (c) 2017, 2020, Chris Fraire <[email protected]>.
* Portions Copyright (c) 2020, Aleksandr Kirillov <[email protected]>.
*/
Expand Down Expand Up @@ -1510,7 +1510,7 @@ public void encodeObject(OutputStream out) {
}

public static Configuration read(File file) throws IOException {
LOGGER.log(Level.INFO, "Reading configuration from {0}", file.getCanonicalPath());
LOGGER.log(Level.INFO, "Reading configuration from ''{0}''", file.getCanonicalPath());
try (FileInputStream in = new FileInputStream(file)) {
return decodeObject(in);
}
Expand Down

0 comments on commit 252a540

Please sign in to comment.