aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-11-27 15:32:12 -0800
committerAnton Tananaev <anton@traccar.org>2022-11-27 15:32:12 -0800
commit82cd47bf236808d4ef13b5c654ed5b52ed2746bb (patch)
tree62cb4f133e401aeb99dd93508c11a1cf78b62c97 /src
parent20ca33bf17c30bf2335d85365a224bc437e0347b (diff)
downloadtrackermap-server-82cd47bf236808d4ef13b5c654ed5b52ed2746bb.tar.gz
trackermap-server-82cd47bf236808d4ef13b5c654ed5b52ed2746bb.tar.bz2
trackermap-server-82cd47bf236808d4ef13b5c654ed5b52ed2746bb.zip
Update java versions
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/storage/DatabaseModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/storage/DatabaseModule.java b/src/main/java/org/traccar/storage/DatabaseModule.java
index 71bf84b34..3e3483818 100644
--- a/src/main/java/org/traccar/storage/DatabaseModule.java
+++ b/src/main/java/org/traccar/storage/DatabaseModule.java
@@ -24,7 +24,7 @@ import liquibase.Liquibase;
import liquibase.database.Database;
import liquibase.database.DatabaseFactory;
import liquibase.exception.LiquibaseException;
-import liquibase.resource.FileSystemResourceAccessor;
+import liquibase.resource.DirectoryResourceAccessor;
import liquibase.resource.ResourceAccessor;
import org.traccar.config.Config;
import org.traccar.config.Keys;
@@ -80,7 +80,7 @@ public class DatabaseModule extends AbstractModule {
if (config.hasKey(Keys.DATABASE_CHANGELOG)) {
- ResourceAccessor resourceAccessor = new FileSystemResourceAccessor(new File("."));
+ ResourceAccessor resourceAccessor = new DirectoryResourceAccessor(new File("."));
Database database = DatabaseFactory.getInstance().openDatabase(
config.getString(Keys.DATABASE_URL),