diff options
author | Anton Tananaev <anton@traccar.org> | 2022-11-27 15:32:12 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-11-27 15:32:12 -0800 |
commit | 82cd47bf236808d4ef13b5c654ed5b52ed2746bb (patch) | |
tree | 62cb4f133e401aeb99dd93508c11a1cf78b62c97 /src | |
parent | 20ca33bf17c30bf2335d85365a224bc437e0347b (diff) | |
download | trackermap-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.java | 4 |
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), |