From 9a622444d3017f44d0098ab8a2c9b0dcb59d0694 Mon Sep 17 00:00:00 2001 From: dabico Date: Thu, 21 Dec 2023 15:57:17 +0100 Subject: [PATCH] Changed licensing configuration Since all the sources are generated, it makes no sense to remove the license post-packaging. Generated source files are now annotated with the license, which itself is preceded by a warning to not edit the files manually. This warning is also present in the test files. The license is not included in those because we do not distribute them. --- headers/HEADER | 23 +++++++++++ headers/WARNING | 1 + .../seart/validation/constraints/ASCII.java | 25 ++++++++++++ .../validation/constraints/Alphanumeric.java | 25 ++++++++++++ .../validation/constraints/BCryptHash.java | 25 ++++++++++++ .../constraints/NullOrNotBlank.java | 25 ++++++++++++ .../validation/constraints/OWASPEmail.java | 25 ++++++++++++ .../validation/constraints/Password.java | 25 ++++++++++++ .../seart/validation/constraints/SHAHash.java | 25 ++++++++++++ .../validation/validator/ASCIIValidator.java | 25 ++++++++++++ .../validator/AlphanumericValidator.java | 25 ++++++++++++ .../validator/NullOrNotBlankValidator.java | 25 ++++++++++++ .../validator/PasswordValidator.java | 25 ++++++++++++ .../validation/constraints/ASCIITest.java | 3 ++ .../constraints/AlphanumericTest.java | 3 ++ .../constraints/BCryptHashTest.java | 3 ++ .../validation/constraints/BaseTest.java | 3 ++ .../constraints/NullOrNotBlankTest.java | 3 ++ .../constraints/OWASPEmailTest.java | 3 ++ .../validation/constraints/PasswordTest.java | 3 ++ .../validation/constraints/SHAHashTest.java | 3 ++ .../seart/validation/constraints/ASCII.java | 25 ++++++++++++ .../validation/constraints/Alphanumeric.java | 25 ++++++++++++ .../validation/constraints/BCryptHash.java | 25 ++++++++++++ .../constraints/NullOrNotBlank.java | 25 ++++++++++++ .../validation/constraints/OWASPEmail.java | 25 ++++++++++++ .../validation/constraints/Password.java | 25 ++++++++++++ .../seart/validation/constraints/SHAHash.java | 25 ++++++++++++ .../validation/validator/ASCIIValidator.java | 25 ++++++++++++ .../validator/AlphanumericValidator.java | 25 ++++++++++++ .../validator/NullOrNotBlankValidator.java | 25 ++++++++++++ .../validator/PasswordValidator.java | 25 ++++++++++++ .../validation/constraints/ASCIITest.java | 3 ++ .../constraints/AlphanumericTest.java | 3 ++ .../constraints/BCryptHashTest.java | 3 ++ .../validation/constraints/BaseTest.java | 3 ++ .../constraints/NullOrNotBlankTest.java | 3 ++ .../constraints/OWASPEmailTest.java | 3 ++ .../validation/constraints/PasswordTest.java | 3 ++ .../validation/constraints/SHAHashTest.java | 3 ++ pom.xml | 40 ++++++++++++------- 41 files changed, 647 insertions(+), 15 deletions(-) create mode 100644 headers/HEADER create mode 100644 headers/WARNING diff --git a/headers/HEADER b/headers/HEADER new file mode 100644 index 0000000..99178f4 --- /dev/null +++ b/headers/HEADER @@ -0,0 +1,23 @@ +DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + +MIT License + +Copyright (c) 2023-present SEART Research Group and Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/headers/WARNING b/headers/WARNING new file mode 100644 index 0000000..42fd654 --- /dev/null +++ b/headers/WARNING @@ -0,0 +1 @@ +DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java index 9aaec5f..628860a 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java index 6c2cf65..a45979c 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java index d6585ce..a44987e 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java index 48c2842..b1d04ab 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java index ae01598..0bdcedb 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Password.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Password.java index 785caa7..8c8d066 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Password.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/Password.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java index 65ca520..827f97a 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import javax.validation.Constraint; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java index 8b2457e..49a8094 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.ASCII; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java index a39f230..0a77220 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.Alphanumeric; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java index 02c9765..ab4972f 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.NullOrNotBlank; diff --git a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java index d5269b4..b2b9e11 100644 --- a/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java +++ b/jakarta-validation-utils-legacy/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.Password; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java index a716597..9be5e46 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java index 2570a1c..97f0027 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java index b1a4758..ab89234 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java index 640f3bc..52f5d76 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.Cleanup; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java index 826e0b3..a3586ae 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AllArgsConstructor; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java index 3f33485..321c04e 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java index 546110b..4393c87 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java index a04894a..4051d49 100644 --- a/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java +++ b/jakarta-validation-utils-legacy/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java index 4c82c14..3ee54d6 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/ASCII.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java index 012bf60..6d5ab8f 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Alphanumeric.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java index 32f4fe8..11ff0a9 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/BCryptHash.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java index 116c3fc..aa095b3 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/NullOrNotBlank.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java index 075f962..55d58ae 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/OWASPEmail.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Password.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Password.java index bcd88c2..56dceec 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Password.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/Password.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java index e24aad4..e5a3ccb 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/constraints/SHAHash.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.constraints; import jakarta.validation.Constraint; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java index 927464f..07bc6de 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/ASCIIValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.ASCII; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java index cef67c1..3c6e3cb 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/AlphanumericValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.Alphanumeric; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java index 4f2a102..dbad0a2 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/NullOrNotBlankValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.NullOrNotBlank; diff --git a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java index 2c9c335..d30f94b 100644 --- a/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java +++ b/jakarta-validation-utils/src/main/java/ch/usi/si/seart/validation/validator/PasswordValidator.java @@ -1,3 +1,28 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + * + * MIT License + * + * Copyright (c) 2023-present SEART Research Group and Contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ package ch.usi.si.seart.validation.validator; import ch.usi.si.seart.validation.constraints.Password; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java index dd81a20..a2c8993 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/ASCIITest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java index 9da92e4..0ba3d61 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/AlphanumericTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java index b923f92..9d62fbd 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BCryptHashTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java index 432e880..9e69d2d 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/BaseTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.Cleanup; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java index 64a73e2..34c3390 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/NullOrNotBlankTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AllArgsConstructor; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java index 1484ecc..63e40a4 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/OWASPEmailTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java index 2acaead..5bbb2a3 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/PasswordTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java index 668b4d7..abbbb1c 100644 --- a/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java +++ b/jakarta-validation-utils/src/test/java/ch/usi/si/seart/validation/constraints/SHAHashTest.java @@ -1,3 +1,6 @@ +/* + * DO NOT EDIT THIS FILE MANUALLY! IT IS MACHINE GENERATED! + */ package ch.usi.si.seart.validation.constraints; import lombok.AccessLevel; diff --git a/pom.xml b/pom.xml index 5176867..0d41111 100644 --- a/pom.xml +++ b/pom.xml @@ -337,30 +337,40 @@ com.mycila license-maven-plugin 4.3 - - - -
${session.executionRootDirectory}/LICENSE
- - src/main/**/*.java - -
-
-
- default-format - generate-sources + default-format-sources + process-sources format + + + +
${session.executionRootDirectory}/headers/HEADER
+ + src/main/**/*.java + +
+
+
- default-remove - package + default-format-test-sources + process-test-sources - remove + format + + + +
${session.executionRootDirectory}/headers/WARNING
+ + src/test/**/*.java + +
+
+