From 0a0ce1dd2e177bcd36329ac1e592fdae101e43fc Mon Sep 17 00:00:00 2001 From: slaurenz <82034561+slaurenz@users.noreply.github.com> Date: Thu, 10 Mar 2022 13:34:09 +0100 Subject: [PATCH] Added maven project structure --- .gitignore | 33 +++++++++++++++++++ .../BinarySearch.java | 2 +- .../PartialVariableHashFilter.java | 3 +- .../PartitionOffset.java | 2 +- .../BinarySearchTest.java | 4 +-- .../PartialVariableHashFilterTest.java | 6 ++-- 6 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 .gitignore rename java/src/{dgca/partialhash/filter => main/java/eu/europa/ec/dgc/partialvariablehashfilter}/BinarySearch.java (97%) rename java/src/{dgca/partialhash/filter => main/java/eu/europa/ec/dgc/partialvariablehashfilter}/PartialVariableHashFilter.java (98%) rename java/src/{dgca/partialhash/filter => main/java/eu/europa/ec/dgc/partialvariablehashfilter}/PartitionOffset.java (95%) rename java/{test/dgca/partialhash/filter => src/test/java/eu/europa/ec/dgc/partialvariablehashfilter}/BinarySearchTest.java (97%) rename java/{test/dgca/partialhash/filter => src/test/java/eu/europa/ec/dgc/partialvariablehashfilter}/PartialVariableHashFilterTest.java (99%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/java/src/dgca/partialhash/filter/BinarySearch.java b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearch.java similarity index 97% rename from java/src/dgca/partialhash/filter/BinarySearch.java rename to java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearch.java index f818c20..c89754f 100644 --- a/java/src/dgca/partialhash/filter/BinarySearch.java +++ b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearch.java @@ -20,7 +20,7 @@ * Created by mykhailo.nester on 04/03/2022, 16:39 */ -package dgca.partialhash.filter; +package eu.europa.ec.dgc.partialvariablehashfilter; import java.math.BigInteger; diff --git a/java/src/dgca/partialhash/filter/PartialVariableHashFilter.java b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilter.java similarity index 98% rename from java/src/dgca/partialhash/filter/PartialVariableHashFilter.java rename to java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilter.java index 797f659..51923b8 100644 --- a/java/src/dgca/partialhash/filter/PartialVariableHashFilter.java +++ b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilter.java @@ -20,7 +20,8 @@ * Created by mykhailo.nester on 07/03/2022, 17:15 */ -package dgca.partialhash.filter; +package eu.europa.ec.dgc.partialvariablehashfilter; + import org.jetbrains.annotations.NotNull; diff --git a/java/src/dgca/partialhash/filter/PartitionOffset.java b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartitionOffset.java similarity index 95% rename from java/src/dgca/partialhash/filter/PartitionOffset.java rename to java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartitionOffset.java index e821c94..61e44b4 100644 --- a/java/src/dgca/partialhash/filter/PartitionOffset.java +++ b/java/src/main/java/eu/europa/ec/dgc/partialvariablehashfilter/PartitionOffset.java @@ -20,7 +20,7 @@ * Created by mykhailo.nester on 08/03/2022, 18:22 */ -package dgca.partialhash.filter; +package eu.europa.ec.dgc.partialvariablehashfilter; public enum PartitionOffset { COORDINATE((byte) 2), diff --git a/java/test/dgca/partialhash/filter/BinarySearchTest.java b/java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearchTest.java similarity index 97% rename from java/test/dgca/partialhash/filter/BinarySearchTest.java rename to java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearchTest.java index d7c73b9..5cb8f88 100644 --- a/java/test/dgca/partialhash/filter/BinarySearchTest.java +++ b/java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/BinarySearchTest.java @@ -20,11 +20,11 @@ * Created by mykhailo.nester on 04/03/2022, 16:39 */ -package dgca.partialhash.filter; +package eu.europa.ec.dgc.partialvariablehashfilter; -import org.junit.jupiter.api.Test; import java.math.BigInteger; +import org.junit.jupiter.api.Test; class BinarySearchTest { diff --git a/java/test/dgca/partialhash/filter/PartialVariableHashFilterTest.java b/java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilterTest.java similarity index 99% rename from java/test/dgca/partialhash/filter/PartialVariableHashFilterTest.java rename to java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilterTest.java index 4eab824..69cc815 100644 --- a/java/test/dgca/partialhash/filter/PartialVariableHashFilterTest.java +++ b/java/src/test/java/eu/europa/ec/dgc/partialvariablehashfilter/PartialVariableHashFilterTest.java @@ -20,14 +20,14 @@ * Created by mykhailo.nester on 07/03/2022, 18:43 */ -package dgca.partialhash.filter; +package eu.europa.ec.dgc.partialvariablehashfilter; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; import java.io.IOException; import java.math.BigInteger; import java.util.Arrays; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.Assertions; public class PartialVariableHashFilterTest {