Skip to content

Commit bf8d669

Browse files
committed
Remove unused method
Signed-off-by: Michael Edgar <medgar@redhat.com>
1 parent eaee1ce commit bf8d669

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

-8
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)