Versio 1, ensimmäinen committi!
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user