mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 23:05:29 +08:00
Type check fix
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user