Skip to content

Commit cc7a039

Browse files
committed
Remove unused method
Signed-off-by: Michael Edgar <[email protected]>
1 parent 935d6d3 commit cc7a039

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crd-generator/api-v2/src/main/java/io/fabric8/crdv2/generator/AbstractJsonSchema.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ private T resolveRoot(Class<?> definition) {
167167
resolvingContext.objectMapper.getSerializationConfig().constructType(definition), schema, null);
168168
}
169169

170-
private <A extends Annotation> T mapAnnotation(A annotation,
171-
Function<A, T> mapper) {
172-
if (annotation != null) {
173-
return mapper.apply(annotation);
174-
}
175-
return null;
176-
}
177-
178170
/**
179171
* Walks up the class hierarchy to consume the repeating annotation
180172
*/

0 commit comments

Comments
 (0)