From a8195f405f54113af4fb603ef4846397d2c2237b Mon Sep 17 00:00:00 2001 From: Steve Hawkins Date: Mon, 11 Sep 2023 08:41:02 -0400 Subject: [PATCH] fixing formatting --- .../jsonschema2pojo/KubernetesCoreTypeAnnotator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java index 97404556a20..40692049ef2 100644 --- a/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java +++ b/kubernetes-model-generator/kubernetes-model-jsonschema2pojo/src/main/java/io/fabric8/kubernetes/jsonschema2pojo/KubernetesCoreTypeAnnotator.java @@ -149,11 +149,11 @@ private void makeEditable(JDefinedClass clazz) { JClass builderType = clazz.owner().ref(clazz.fullName() + "Builder"); JClass editableType = clazz.owner().ref(Editable.class).narrow(builderType); clazz._implements(editableType); - JMethod editMethod = clazz.method(JMod.PUBLIC , builderType, "edit"); + JMethod editMethod = clazz.method(JMod.PUBLIC, builderType, "edit"); editMethod.annotate(JsonIgnore.class); JInvocation newBuilder = JExpr._new(builderType).arg(JExpr._this()); editMethod.body()._return(newBuilder); - JMethod toBuilderMethod = clazz.method(JMod.PUBLIC , builderType, "toBuilder"); + JMethod toBuilderMethod = clazz.method(JMod.PUBLIC, builderType, "toBuilder"); toBuilderMethod.annotate(JsonIgnore.class); toBuilderMethod.body()._return(JExpr.invoke("edit")); }