Versio 1, ensimmäinen committi!

This commit is contained in:
2026-04-08 19:37:10 +03:00
parent 7eddb935dc
commit f5d3db26f1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ target/
!**/src/main/**/target/
!**/src/test/**/target/
.kotlin
.out/
.out/*.jar
### IntelliJ IDEA ###
.idea/modules.xml
@@ -16,7 +16,7 @@ public class Tietokanta {
private static String dbPath = SystemUtils.getUserHome().getAbsolutePath() + "\\OneDrive\\Kuljetusruokasovellus\\tietokanta.db";
public Tietokanta(boolean dev) throws IOException {
if (dev) dbPath = "tietokanta.db";
if (dev) dbPath = "testikanta.db";
File file = new File(dbPath);
try {
//noinspection ResultOfMethodCallIgnored