Skip to content
Snippets Groups Projects
Unverified Commit 9b8815a2 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Update to backend 2.0.31

parent 76e69b48
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ public class ServerProperties extends Properties {
serverProperties.setProperty(KEY_MYSQL_USER_NAME, "CaosDB");
serverProperties.setProperty(KEY_MYSQL_USER_PASSWORD, "CaosDB");
serverProperties.setProperty(KEY_MYSQL_SCHEMA_VERSION, "v2.0.30");
serverProperties.setProperty(KEY_MYSQL_SCHEMA_VERSION, "v2.0.31");
serverProperties.setProperty(KEY_BASE_PATH, basepath);
serverProperties.setProperty(KEY_CONTEXT_ROOT, "");
......
......@@ -216,8 +216,7 @@ public class FileProperties {
};
}
private static Undoable delete(final File file)
throws IOException, InterruptedException {
private static Undoable delete(final File file) throws IOException, InterruptedException {
if (file.getAbsolutePath().startsWith(FileSystem.getBasepath())) {
final Undoable d;
final File parent = file.getParentFile();
......
......@@ -99,7 +99,9 @@ public class ScriptingResource extends AbstractCaosDBServerResource {
p.getFile().delete();
} catch (Exception t) {
if (getLogger().isLoggable(Level.WARNING)) {
getLogger().warning("Could not delete tmp file: " + p.getPath() + "\nException: " + t.toString());
getLogger()
.warning(
"Could not delete tmp file: " + p.getPath() + "\nException: " + t.toString());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment