From d04d44e0ad0ff9b53251d95363dbaa9b6178fb3e Mon Sep 17 00:00:00 2001 From: Matthew Morley Date: Tue, 17 Oct 2023 09:15:02 -0400 Subject: [PATCH] Run lint --- .../java/org/photonvision/server/RequestHandler.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/photon-server/src/main/java/org/photonvision/server/RequestHandler.java b/photon-server/src/main/java/org/photonvision/server/RequestHandler.java index 42b8e0a173..96666b82e7 100644 --- a/photon-server/src/main/java/org/photonvision/server/RequestHandler.java +++ b/photon-server/src/main/java/org/photonvision/server/RequestHandler.java @@ -497,7 +497,10 @@ private static Optional handleTempFileCreation(UploadedFile file) { if (!makeDirsRes && !(tempFilePath.getParentFile().exists())) { logger.error( - "There was an error while creating " + tempFilePath.getAbsolutePath() + "! Exists: " + tempFilePath.getParentFile().exists()); + "There was an error while creating " + + tempFilePath.getAbsolutePath() + + "! Exists: " + + tempFilePath.getParentFile().exists()); return Optional.empty(); } @@ -505,7 +508,10 @@ private static Optional handleTempFileCreation(UploadedFile file) { FileUtils.copyInputStreamToFile(file.content(), tempFilePath); } catch (IOException e) { logger.error( - "There was an error while copying " + file.filename() + " to the temp file " + tempFilePath.getAbsolutePath()); + "There was an error while copying " + + file.filename() + + " to the temp file " + + tempFilePath.getAbsolutePath()); return Optional.empty(); }