Type check fix

This commit is contained in:
serge-rider
2025-06-20 10:59:02 +02:00
parent f286ab4b3c
commit 3c49650bc3
@@ -220,7 +220,7 @@ public class CBStaticServlet extends DefaultServlet {
pathInContext = pathInContext.substring(1);
}
ByteArrayOutputStream baos = new ByteArrayOutputStream();
var filePath = contentRoot.resolve(pathInContext);
Path filePath = contentRoot.resolve(pathInContext);
try (InputStream fis = Files.newInputStream(filePath)) {
IOUtils.copyStream(fis, baos);
}