From 5cf04a979ac00ef4571f2972e333976f60324d0e Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Wed, 27 Jan 2021 20:49:33 +0100 Subject: [PATCH] =?UTF-8?q?Checkstyle=20f=C3=BCr=20Maven=20konfiguriert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 20 +++++++++++++++++++ .../typicalc/model/step/InferenceStep.java | 13 ++++++++++++ ...checkstyle_typicalc.xml => checkstyle.xml} | 0 3 files changed, 33 insertions(+) rename src/test/resources/{checkstyle_typicalc.xml => checkstyle.xml} (100%) diff --git a/pom.xml b/pom.xml index f68615b..c91e15a 100644 --- a/pom.xml +++ b/pom.xml @@ -155,6 +155,26 @@ maven-surefire-plugin 2.22.2 + + + maven-checkstyle-plugin + 3.1.1 + + ${project.build.directory}/../src/test/resources/checkstyle.xml + true + true + ${project.build.directory}/../src/main/java + + + + validate + validate + + check + + + + diff --git a/src/main/java/edu/kit/typicalc/model/step/InferenceStep.java b/src/main/java/edu/kit/typicalc/model/step/InferenceStep.java index 488437e..be0ea21 100644 --- a/src/main/java/edu/kit/typicalc/model/step/InferenceStep.java +++ b/src/main/java/edu/kit/typicalc/model/step/InferenceStep.java @@ -1,7 +1,11 @@ package edu.kit.typicalc.model.step; import edu.kit.typicalc.model.Conclusion; +<<<<<<< HEAD import edu.kit.typicalc.model.Constraint; +======= + +>>>>>>> 0f6c701 (Checkstyle für Maven konfiguriert) /** * Models one step of the inference tree. * Depending on the inference rule that is applied in a step, @@ -46,4 +50,13 @@ public abstract class InferenceStep { * @param stepVisitor the visitor that wants to visit this object */ public abstract void accept(StepVisitor stepVisitor); +<<<<<<< HEAD } +======= + + public Conclusion getConclusion() { + return null; // TODO + } + +} +>>>>>>> 0f6c701 (Checkstyle für Maven konfiguriert) diff --git a/src/test/resources/checkstyle_typicalc.xml b/src/test/resources/checkstyle.xml similarity index 100% rename from src/test/resources/checkstyle_typicalc.xml rename to src/test/resources/checkstyle.xml