Skip to content

Commit 75bc48d

Browse files
Remove temporary backwards compatability on medatadata color.
Can be merged once #50 is merged.
1 parent 38a0429 commit 75bc48d

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

src/main/java/org/creekservice/kafka/test/perf/implementations/EveritImplementation.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.fasterxml.jackson.core.type.TypeReference;
2626
import com.fasterxml.jackson.databind.ObjectMapper;
2727
import com.fasterxml.jackson.databind.json.JsonMapper;
28+
import java.awt.Color;
2829
import java.io.ByteArrayInputStream;
2930
import java.util.Collection;
3031
import java.util.Map;
@@ -55,7 +56,8 @@ public class EveritImplementation implements Implementation {
5556
Language.Java,
5657
Licence.Apache_v2_0,
5758
Set.of(DRAFT_04, DRAFT_06, DRAFT_07),
58-
"https://github.com/everit-org/json-schema");
59+
"https://github.com/everit-org/json-schema",
60+
new Color(54, 162, 235));
5961

6062
private ObjectMapper mapper = JsonMapper.builder().build();
6163

src/main/java/org/creekservice/kafka/test/perf/implementations/Implementation.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,21 +135,6 @@ public MetaData(
135135
}
136136
}
137137

138-
/**
139-
* Temp constructor to avoid issues for anyone currently adding new implementation.
140-
*
141-
* <p>Will be removed soon.
142-
*/
143-
public MetaData(
144-
final String longName,
145-
final String shortName,
146-
final Language language,
147-
final Licence licence,
148-
final Set<SchemaSpec> supported,
149-
final String url) {
150-
this(longName, shortName, language, licence, supported, url, new Color(235, 54, 172));
151-
}
152-
153138
@JsonProperty("longName")
154139
public String longName() {
155140
return longName;

0 commit comments

Comments
 (0)