From 896069474e28d0100ef62b3e5f8a8698ee820b80 Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Fri, 23 Jul 2021 11:22:45 +0200 Subject: [PATCH] Reformatting, Refactoring, Optimization --- docs/allclasses-index.html | 2 +- docs/allpackages-index.html | 2 +- docs/de/dhbw/contactdb/Main.html | 2 +- docs/de/dhbw/contactdb/Person.html | 2 +- docs/de/dhbw/contactdb/Place.html | 2 +- docs/de/dhbw/contactdb/Visit.html | 2 +- docs/de/dhbw/contactdb/class-use/Main.html | 2 +- docs/de/dhbw/contactdb/class-use/Person.html | 2 +- docs/de/dhbw/contactdb/class-use/Place.html | 2 +- docs/de/dhbw/contactdb/class-use/Visit.html | 2 +- docs/de/dhbw/contactdb/package-summary.html | 2 +- docs/de/dhbw/contactdb/package-tree.html | 2 +- docs/de/dhbw/contactdb/package-use.html | 2 +- docs/de/dhbw/contactdb/utils/Parser.html | 2 +- docs/de/dhbw/contactdb/utils/class-use/Parser.html | 2 +- docs/de/dhbw/contactdb/utils/class-use/db_new_entity.html | 2 +- docs/de/dhbw/contactdb/utils/db_new_entity.html | 2 +- docs/de/dhbw/contactdb/utils/package-summary.html | 2 +- docs/de/dhbw/contactdb/utils/package-tree.html | 2 +- docs/de/dhbw/contactdb/utils/package-use.html | 2 +- docs/de/dhbw/unit/ProjectTest.html | 2 +- docs/de/dhbw/unit/class-use/ProjectTest.html | 2 +- docs/de/dhbw/unit/package-summary.html | 2 +- docs/de/dhbw/unit/package-tree.html | 2 +- docs/de/dhbw/unit/package-use.html | 2 +- docs/help-doc.html | 2 +- docs/index-files/index-1.html | 2 +- docs/index-files/index-10.html | 2 +- docs/index-files/index-11.html | 2 +- docs/index-files/index-12.html | 2 +- docs/index-files/index-2.html | 2 +- docs/index-files/index-3.html | 2 +- docs/index-files/index-4.html | 2 +- docs/index-files/index-5.html | 2 +- docs/index-files/index-6.html | 2 +- docs/index-files/index-7.html | 2 +- docs/index-files/index-8.html | 2 +- docs/index-files/index-9.html | 2 +- docs/index.html | 2 +- docs/overview-summary.html | 2 +- docs/overview-tree.html | 2 +- klassendiagramm.drawio | 2 +- src/de/dhbw/contactdb/Main.java | 4 ++-- src/de/dhbw/contactdb/Place.java | 2 +- src/de/dhbw/contactdb/Visit.java | 2 +- 45 files changed, 46 insertions(+), 46 deletions(-) diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html index 3544b4f..98adf70 100644 --- a/docs/allclasses-index.html +++ b/docs/allclasses-index.html @@ -2,7 +2,7 @@ - + All Classes diff --git a/docs/allpackages-index.html b/docs/allpackages-index.html index 328640a..cc4bedd 100644 --- a/docs/allpackages-index.html +++ b/docs/allpackages-index.html @@ -2,7 +2,7 @@ - + All Packages diff --git a/docs/de/dhbw/contactdb/Main.html b/docs/de/dhbw/contactdb/Main.html index a226ad9..5df9131 100644 --- a/docs/de/dhbw/contactdb/Main.html +++ b/docs/de/dhbw/contactdb/Main.html @@ -2,7 +2,7 @@ - + Main diff --git a/docs/de/dhbw/contactdb/Person.html b/docs/de/dhbw/contactdb/Person.html index 2485e3a..acb8970 100644 --- a/docs/de/dhbw/contactdb/Person.html +++ b/docs/de/dhbw/contactdb/Person.html @@ -2,7 +2,7 @@ - + Person diff --git a/docs/de/dhbw/contactdb/Place.html b/docs/de/dhbw/contactdb/Place.html index 108f9ff..018d7a7 100644 --- a/docs/de/dhbw/contactdb/Place.html +++ b/docs/de/dhbw/contactdb/Place.html @@ -2,7 +2,7 @@ - + Place diff --git a/docs/de/dhbw/contactdb/Visit.html b/docs/de/dhbw/contactdb/Visit.html index 285960d..1d534b3 100644 --- a/docs/de/dhbw/contactdb/Visit.html +++ b/docs/de/dhbw/contactdb/Visit.html @@ -2,7 +2,7 @@ - + Visit diff --git a/docs/de/dhbw/contactdb/class-use/Main.html b/docs/de/dhbw/contactdb/class-use/Main.html index e2f8162..0337072 100644 --- a/docs/de/dhbw/contactdb/class-use/Main.html +++ b/docs/de/dhbw/contactdb/class-use/Main.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.contactdb.Main diff --git a/docs/de/dhbw/contactdb/class-use/Person.html b/docs/de/dhbw/contactdb/class-use/Person.html index fb30283..5230e69 100644 --- a/docs/de/dhbw/contactdb/class-use/Person.html +++ b/docs/de/dhbw/contactdb/class-use/Person.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.contactdb.Person diff --git a/docs/de/dhbw/contactdb/class-use/Place.html b/docs/de/dhbw/contactdb/class-use/Place.html index 931687c..f033805 100644 --- a/docs/de/dhbw/contactdb/class-use/Place.html +++ b/docs/de/dhbw/contactdb/class-use/Place.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.contactdb.Place diff --git a/docs/de/dhbw/contactdb/class-use/Visit.html b/docs/de/dhbw/contactdb/class-use/Visit.html index 504a77b..152b8e7 100644 --- a/docs/de/dhbw/contactdb/class-use/Visit.html +++ b/docs/de/dhbw/contactdb/class-use/Visit.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.contactdb.Visit diff --git a/docs/de/dhbw/contactdb/package-summary.html b/docs/de/dhbw/contactdb/package-summary.html index b88a31f..fc272e1 100644 --- a/docs/de/dhbw/contactdb/package-summary.html +++ b/docs/de/dhbw/contactdb/package-summary.html @@ -2,7 +2,7 @@ - + de.dhbw.contactdb diff --git a/docs/de/dhbw/contactdb/package-tree.html b/docs/de/dhbw/contactdb/package-tree.html index 70e82c6..f8c8d57 100644 --- a/docs/de/dhbw/contactdb/package-tree.html +++ b/docs/de/dhbw/contactdb/package-tree.html @@ -2,7 +2,7 @@ - + de.dhbw.contactdb Class Hierarchy diff --git a/docs/de/dhbw/contactdb/package-use.html b/docs/de/dhbw/contactdb/package-use.html index ffad9ca..95566df 100644 --- a/docs/de/dhbw/contactdb/package-use.html +++ b/docs/de/dhbw/contactdb/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package de.dhbw.contactdb diff --git a/docs/de/dhbw/contactdb/utils/Parser.html b/docs/de/dhbw/contactdb/utils/Parser.html index cebc8b8..97075bc 100644 --- a/docs/de/dhbw/contactdb/utils/Parser.html +++ b/docs/de/dhbw/contactdb/utils/Parser.html @@ -2,7 +2,7 @@ - + Parser diff --git a/docs/de/dhbw/contactdb/utils/class-use/Parser.html b/docs/de/dhbw/contactdb/utils/class-use/Parser.html index 7b4f336..ef3056c 100644 --- a/docs/de/dhbw/contactdb/utils/class-use/Parser.html +++ b/docs/de/dhbw/contactdb/utils/class-use/Parser.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.contactdb.utils.Parser diff --git a/docs/de/dhbw/contactdb/utils/class-use/db_new_entity.html b/docs/de/dhbw/contactdb/utils/class-use/db_new_entity.html index ef92ee5..cb7ed3c 100644 --- a/docs/de/dhbw/contactdb/utils/class-use/db_new_entity.html +++ b/docs/de/dhbw/contactdb/utils/class-use/db_new_entity.html @@ -2,7 +2,7 @@ - + Uses of Enum Class de.dhbw.contactdb.utils.db_new_entity diff --git a/docs/de/dhbw/contactdb/utils/db_new_entity.html b/docs/de/dhbw/contactdb/utils/db_new_entity.html index ffe1cfc..380059e 100644 --- a/docs/de/dhbw/contactdb/utils/db_new_entity.html +++ b/docs/de/dhbw/contactdb/utils/db_new_entity.html @@ -2,7 +2,7 @@ - + db_new_entity diff --git a/docs/de/dhbw/contactdb/utils/package-summary.html b/docs/de/dhbw/contactdb/utils/package-summary.html index e2f9955..003ba6b 100644 --- a/docs/de/dhbw/contactdb/utils/package-summary.html +++ b/docs/de/dhbw/contactdb/utils/package-summary.html @@ -2,7 +2,7 @@ - + de.dhbw.contactdb.utils diff --git a/docs/de/dhbw/contactdb/utils/package-tree.html b/docs/de/dhbw/contactdb/utils/package-tree.html index e794b3c..ebda11c 100644 --- a/docs/de/dhbw/contactdb/utils/package-tree.html +++ b/docs/de/dhbw/contactdb/utils/package-tree.html @@ -2,7 +2,7 @@ - + de.dhbw.contactdb.utils Class Hierarchy diff --git a/docs/de/dhbw/contactdb/utils/package-use.html b/docs/de/dhbw/contactdb/utils/package-use.html index c34ca6e..8256a67 100644 --- a/docs/de/dhbw/contactdb/utils/package-use.html +++ b/docs/de/dhbw/contactdb/utils/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package de.dhbw.contactdb.utils diff --git a/docs/de/dhbw/unit/ProjectTest.html b/docs/de/dhbw/unit/ProjectTest.html index 0ef3530..bc8493f 100644 --- a/docs/de/dhbw/unit/ProjectTest.html +++ b/docs/de/dhbw/unit/ProjectTest.html @@ -2,7 +2,7 @@ - + ProjectTest diff --git a/docs/de/dhbw/unit/class-use/ProjectTest.html b/docs/de/dhbw/unit/class-use/ProjectTest.html index fe1eff5..b278370 100644 --- a/docs/de/dhbw/unit/class-use/ProjectTest.html +++ b/docs/de/dhbw/unit/class-use/ProjectTest.html @@ -2,7 +2,7 @@ - + Uses of Class de.dhbw.unit.ProjectTest diff --git a/docs/de/dhbw/unit/package-summary.html b/docs/de/dhbw/unit/package-summary.html index 23ca694..ca0e00c 100644 --- a/docs/de/dhbw/unit/package-summary.html +++ b/docs/de/dhbw/unit/package-summary.html @@ -2,7 +2,7 @@ - + de.dhbw.unit diff --git a/docs/de/dhbw/unit/package-tree.html b/docs/de/dhbw/unit/package-tree.html index db8af22..3db1987 100644 --- a/docs/de/dhbw/unit/package-tree.html +++ b/docs/de/dhbw/unit/package-tree.html @@ -2,7 +2,7 @@ - + de.dhbw.unit Class Hierarchy diff --git a/docs/de/dhbw/unit/package-use.html b/docs/de/dhbw/unit/package-use.html index 74e65f2..f0dbb49 100644 --- a/docs/de/dhbw/unit/package-use.html +++ b/docs/de/dhbw/unit/package-use.html @@ -2,7 +2,7 @@ - + Uses of Package de.dhbw.unit diff --git a/docs/help-doc.html b/docs/help-doc.html index 07b23e6..cfebe03 100644 --- a/docs/help-doc.html +++ b/docs/help-doc.html @@ -2,7 +2,7 @@ - + API Help diff --git a/docs/index-files/index-1.html b/docs/index-files/index-1.html index acdf494..b485aa6 100644 --- a/docs/index-files/index-1.html +++ b/docs/index-files/index-1.html @@ -2,7 +2,7 @@ - + A-Index diff --git a/docs/index-files/index-10.html b/docs/index-files/index-10.html index 843884d..6c0d331 100644 --- a/docs/index-files/index-10.html +++ b/docs/index-files/index-10.html @@ -2,7 +2,7 @@ - + S-Index diff --git a/docs/index-files/index-11.html b/docs/index-files/index-11.html index 36d9bbb..9412479 100644 --- a/docs/index-files/index-11.html +++ b/docs/index-files/index-11.html @@ -2,7 +2,7 @@ - + T-Index diff --git a/docs/index-files/index-12.html b/docs/index-files/index-12.html index c7fe520..425e437 100644 --- a/docs/index-files/index-12.html +++ b/docs/index-files/index-12.html @@ -2,7 +2,7 @@ - + V-Index diff --git a/docs/index-files/index-2.html b/docs/index-files/index-2.html index f6d42e1..0594640 100644 --- a/docs/index-files/index-2.html +++ b/docs/index-files/index-2.html @@ -2,7 +2,7 @@ - + B-Index diff --git a/docs/index-files/index-3.html b/docs/index-files/index-3.html index 588013b..0b7c458 100644 --- a/docs/index-files/index-3.html +++ b/docs/index-files/index-3.html @@ -2,7 +2,7 @@ - + D-Index diff --git a/docs/index-files/index-4.html b/docs/index-files/index-4.html index 1ec9732..ba9c015 100644 --- a/docs/index-files/index-4.html +++ b/docs/index-files/index-4.html @@ -2,7 +2,7 @@ - + E-Index diff --git a/docs/index-files/index-5.html b/docs/index-files/index-5.html index c7827ac..2961477 100644 --- a/docs/index-files/index-5.html +++ b/docs/index-files/index-5.html @@ -2,7 +2,7 @@ - + G-Index diff --git a/docs/index-files/index-6.html b/docs/index-files/index-6.html index 2851afa..cc2b3c7 100644 --- a/docs/index-files/index-6.html +++ b/docs/index-files/index-6.html @@ -2,7 +2,7 @@ - + I-Index diff --git a/docs/index-files/index-7.html b/docs/index-files/index-7.html index d190a1c..a36f9bc 100644 --- a/docs/index-files/index-7.html +++ b/docs/index-files/index-7.html @@ -2,7 +2,7 @@ - + M-Index diff --git a/docs/index-files/index-8.html b/docs/index-files/index-8.html index 5537f60..a677d5f 100644 --- a/docs/index-files/index-8.html +++ b/docs/index-files/index-8.html @@ -2,7 +2,7 @@ - + N-Index diff --git a/docs/index-files/index-9.html b/docs/index-files/index-9.html index 46e27a0..b278b65 100644 --- a/docs/index-files/index-9.html +++ b/docs/index-files/index-9.html @@ -2,7 +2,7 @@ - + P-Index diff --git a/docs/index.html b/docs/index.html index 6ccac43..943371d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - + Overview diff --git a/docs/overview-summary.html b/docs/overview-summary.html index a3fe6e9..5957c5a 100644 --- a/docs/overview-summary.html +++ b/docs/overview-summary.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) diff --git a/docs/overview-tree.html b/docs/overview-tree.html index 485a962..81554aa 100644 --- a/docs/overview-tree.html +++ b/docs/overview-tree.html @@ -2,7 +2,7 @@ - + Class Hierarchy diff --git a/klassendiagramm.drawio b/klassendiagramm.drawio index 8e4fc67..843f7e6 100644 --- a/klassendiagramm.drawio +++ b/klassendiagramm.drawio @@ -1 +1 @@ -7Vxrbxo5FP01SO1KqeYNfExI2kZKdqOm2senlcM44O0wph6TQH99r8c287CHgUAC2o4UJfjO9fMc3zl+kJ4/mi0/MTSf3tIYJz3PiZc9/7Lnea4fOvBHWFbS0o9CaZgwEkuTUxjuyQ+scmrrgsQ4UzZp4pQmnMyrxjFNUzzmFRtijD5X3R5pElcMczTBhuF+jBLT+heJ+VRaB16/sH/GZDLVNbvRUD6ZIe2sepJNUUyfSyb/quePGKVcfpotRzgRg1cdl48NT9cNYzjl22QYBN+fGFsi79uPOEWfrvH9aHEmMuSN4yvdYxzDAKgkZXxKJzRFyVVhvWB0kcZYFOtAqvC5oXQORheM/2HOVwpNtOAUTFM+S9TTjCPGzwU6YIgJmtE0/jolqX70kSTaFZITzO8wIzPMMbufozFJJ6pqnGrGuJ7OqwyeeC77JjrUOGbKlNEFGysvNSSyZg3rGjBgOqbQFrYCH4YTxMlTtXikKDdZ+6ms0GO0KjnMKUl5Vir5ThjAQc2e0I1kiWruRK5fRbjmH7nDTf7wQbZAp0pdKUw5a3ZgUBCcOIMMVtR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2Bm247M1Y3cHtlCBknHLXXQ/0nrdArkNcjf97Z8RbkHkCDWQ2g/NAB8g0NoGDK2+lvkh8FWyX96+moCJC6XldRKpXY4vH6dGw5aY5QPqD07xFsfUO+FX3AU/E77EoENpOPcItARQQsUtS/bdIvA1csPu/8rXUOJjhwBBoFfjgFnzgfHdVsCQZ5ak2b36HAirDzW7SivRrPNl1uiwXCT/960dM0ThFt43xq07FbGL1sZe4PqyjiwSO6dzw+a77ZsUZ21tle92+LazzHkiWgh/D+jbHqL5iB/E8GJa2DTBPiUK/z18epEyr/qHRixQbpdOermlrWYJ/GssZimnJ0GLybHSZ+cuN3RyWFAe8OzE6/p7GQGXXsHAbu+bSAHoXE9LaY55FrMoPv/YlAr5fODpuX9SLx2xuoeR9a4O3BDMt4eLPQNGYzYeKqW9ZlazDfsCTTsJ0ApeTWUZW0lbN80YEaGz9UINZdrbG2I3nykTG/m7JpNnoQ15Ori64un6pses9j3OCLLDJZMjMmT5qGrbVBHydyEfWU1vBsNGkXqOl4/TwnHYtEh6nxmaG4suRpQsCjFRlkY1FenkeXWkO0SsvNaOJnrgApOJRSi7wvx7Z98HXCW5RpdzFfo/rJ4WIowiXZ+eSm/6WIeWL1g6K0s2zD/kkTynf6RiWSK/W7Ci+2o6kWycGi5Cv6mONnkcIdTMPBOC6fAJoE7nCK3ul0b6Th4NJzMSyYdTmLVXf9257FxahE6vyhOoVPbZz62IA06HWHdT9a7LyeDU4uO6BYOp0mkqPat28g9stAJW4ROR6TTJJLxFZnXIxIki/88Ig+iiv/f4l/9BA== \ No newline at end of file + \ No newline at end of file diff --git a/src/de/dhbw/contactdb/Main.java b/src/de/dhbw/contactdb/Main.java index 9ef5339..27ae43e 100644 --- a/src/de/dhbw/contactdb/Main.java +++ b/src/de/dhbw/contactdb/Main.java @@ -75,8 +75,8 @@ public class Main { * Searches the HashMap places for a specific string * * @param search String that contains search value - * @author florian kaiser * @return String with space-separated places + * @author florian kaiser */ public static String searchForPlace(String search) { StringBuilder result = new StringBuilder(); @@ -93,8 +93,8 @@ public class Main { * Searches the HashMap persons for a specific string * * @param search String that contains search value - * @author florian kaiser * @return String with space-separated persons + * @author florian kaiser */ public static String searchForPerson(String search) { StringBuilder result = new StringBuilder(); diff --git a/src/de/dhbw/contactdb/Place.java b/src/de/dhbw/contactdb/Place.java index 444791e..1c3b4e0 100644 --- a/src/de/dhbw/contactdb/Place.java +++ b/src/de/dhbw/contactdb/Place.java @@ -78,7 +78,7 @@ public class Place { @Override public String toString() { - return "Ort{" + + return "Place{" + "id=" + id + ", name='" + name + '\'' + ", indoor=" + indoor + diff --git a/src/de/dhbw/contactdb/Visit.java b/src/de/dhbw/contactdb/Visit.java index c1e5afa..da7f9df 100644 --- a/src/de/dhbw/contactdb/Visit.java +++ b/src/de/dhbw/contactdb/Visit.java @@ -121,7 +121,7 @@ public class Visit { @Override public String toString() { - return "Besuch{" + + return "Visit{" + "start=" + start + ", end=" + end + ", person=" + person +