diff --git a/crd-generator/api/src/main/java/io/fabric8/crd/generator/AbstractJsonSchema.java b/crd-generator/api/src/main/java/io/fabric8/crd/generator/AbstractJsonSchema.java index e8f4b53d034..763428fa199 100644 --- a/crd-generator/api/src/main/java/io/fabric8/crd/generator/AbstractJsonSchema.java +++ b/crd-generator/api/src/main/java/io/fabric8/crd/generator/AbstractJsonSchema.java @@ -115,7 +115,7 @@ protected T internalFrom(TypeDef definition, String... ignore) { return internalFromImpl(definition, new LinkedList(), ignore); } - protected T internalFromImpl(TypeDef definition, List visited, String... ignore) { + private T internalFromImpl(TypeDef definition, List visited, String... ignore) { visited.add(definition.getFullyQualifiedName()); final B builder = newBuilder(); Set ignores =