diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c5c79a2..c0a2f27 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,6 +7,7 @@ + @@ -81,11 +82,11 @@ - + - - + + @@ -94,19 +95,19 @@ - + - - + + - - - - - - - + + + + + + + @@ -731,7 +732,7 @@ - + 1497631430767 @@ -845,15 +846,21 @@ - - - @@ -875,7 +882,7 @@ - + @@ -980,13 +987,13 @@ - - - - - - - + + + + + + + @@ -1065,13 +1072,13 @@ - - - - - - - + + + + + + + @@ -1114,13 +1121,13 @@ - - - - - - - + + + + + + + @@ -1163,13 +1170,13 @@ - - - - - - - + + + + + + + @@ -1212,13 +1219,13 @@ - - - - - - - + + + + + + + @@ -1261,13 +1268,13 @@ - - - - - - - + + + + + + + @@ -1399,29 +1406,29 @@ - + - - + + - - - - - - - + + - + - - + + - - + + + + + + + diff --git a/out/artifacts/deduplicator_jar/deduplicator.jar b/out/artifacts/deduplicator_jar/deduplicator.jar index cf6bd22..1f6fe31 100644 Binary files a/out/artifacts/deduplicator_jar/deduplicator.jar and b/out/artifacts/deduplicator_jar/deduplicator.jar differ diff --git a/src/com/nilsgg/deduplicator/PostSQL.java b/src/com/nilsgg/deduplicator/PostSQL.java index dc89b10..782d94d 100644 --- a/src/com/nilsgg/deduplicator/PostSQL.java +++ b/src/com/nilsgg/deduplicator/PostSQL.java @@ -28,7 +28,7 @@ class PostSQL { props.setProperty("password", dbPassword); String DB_URL = "jdbc:postgresql://" + dataBase + "/filedb"; this.conn = DriverManager.getConnection(DB_URL, props); - if (createTable|| isFilesTable()) + if (createTable|| !isFilesTable()) createTable(); }