From 75bc48da309ef0e4bee5737d2af01ccbfa1f8517 Mon Sep 17 00:00:00 2001 From: Big Andy <8012398+big-andy-coates@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:52:36 +0000 Subject: [PATCH] Remove temporary backwards compatability on medatadata color. Can be merged once https://github.com/creek-service/json-schema-validation-comparison/pull/50 is merged. --- .../implementations/EveritImplementation.java | 4 +++- .../test/perf/implementations/Implementation.java | 15 --------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/creekservice/kafka/test/perf/implementations/EveritImplementation.java b/src/main/java/org/creekservice/kafka/test/perf/implementations/EveritImplementation.java index 2540275..a74fe44 100644 --- a/src/main/java/org/creekservice/kafka/test/perf/implementations/EveritImplementation.java +++ b/src/main/java/org/creekservice/kafka/test/perf/implementations/EveritImplementation.java @@ -25,6 +25,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.json.JsonMapper; +import java.awt.Color; import java.io.ByteArrayInputStream; import java.util.Collection; import java.util.Map; @@ -55,7 +56,8 @@ public class EveritImplementation implements Implementation { Language.Java, Licence.Apache_v2_0, Set.of(DRAFT_04, DRAFT_06, DRAFT_07), - "https://github.com/everit-org/json-schema"); + "https://github.com/everit-org/json-schema", + new Color(54, 162, 235)); private ObjectMapper mapper = JsonMapper.builder().build(); diff --git a/src/main/java/org/creekservice/kafka/test/perf/implementations/Implementation.java b/src/main/java/org/creekservice/kafka/test/perf/implementations/Implementation.java index f79f673..4f33315 100644 --- a/src/main/java/org/creekservice/kafka/test/perf/implementations/Implementation.java +++ b/src/main/java/org/creekservice/kafka/test/perf/implementations/Implementation.java @@ -135,21 +135,6 @@ public MetaData( } } - /** - * Temp constructor to avoid issues for anyone currently adding new implementation. - * - *
Will be removed soon.
- */
- public MetaData(
- final String longName,
- final String shortName,
- final Language language,
- final Licence licence,
- final Set