From e6b83505a1c09e86bce9db2ac0e722d49a67ad0c Mon Sep 17 00:00:00 2001 From: Matthias Betz <matthias.betz@hft-stuttgart.de> Date: Thu, 12 Nov 2020 12:11:14 +0100 Subject: [PATCH] Removing unused schematron check class --- .../checks/semantics/SchematronCheck.java | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/semantics/SchematronCheck.java diff --git a/CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/semantics/SchematronCheck.java b/CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/semantics/SchematronCheck.java deleted file mode 100644 index 54d4da7..0000000 --- a/CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/semantics/SchematronCheck.java +++ /dev/null @@ -1,57 +0,0 @@ -/*- - * Copyright 2020 Beuth Hochschule für Technik Berlin, Hochschule für Technik Stuttgart - * - * This file is part of CityDoctor2. - * - * CityDoctor2 is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * CityDoctor2 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with CityDoctor2. If not, see <https://www.gnu.org/licenses/>. - */ -package de.hft.stuttgart.citydoctor2.checks.semantics; - -import java.util.Collections; -import java.util.List; - -import de.hft.stuttgart.citydoctor2.check.Check; -import de.hft.stuttgart.citydoctor2.check.CheckId; -import de.hft.stuttgart.citydoctor2.check.CheckType; -import de.hft.stuttgart.citydoctor2.check.Checkable; - -/** - * This is only a pseudo check, Schematron is handled differently, but to have a - * check responsible for errors this class is created. - * - * @author Matthias Betz - * - */ -public class SchematronCheck extends Check { - - public SchematronCheck() { - super(CheckId.C_SEM_SCHEMATRON); - } - - @Override - public List<Class<? extends Checkable>> getApplicableToClasses() { - return Collections.emptyList(); - } - - @Override - public CheckType getType() { - return CheckType.SEMANTIC; - } - - @Override - public Check createNewInstance() { - return new SchematronCheck(); - } - -} -- GitLab