Versio 1, ensimmäinen committi!

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