Skip to content

Commit caa6b4e

Browse files
authored
Merge pull request #594 from yue9944882/chore/structurelized-patch-follow-up
Follow-up of #587: addressing minor comments
2 parents da58401 + 93740d5 commit caa6b4e

File tree

1 file changed

+2
-2
lines changed
  • kubernetes/src/main/java/io/kubernetes/client/custom

1 file changed

+2
-2
lines changed

kubernetes/src/main/java/io/kubernetes/client/custom/V1Patch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
@JsonAdapter(V1Patch.V1PatchAdapter.class)
1111
public class V1Patch {
1212

13+
private String value;
14+
1315
public static final String PATCH_FORMAT_JSON_PATCH = "application/json-patch+json";
1416
public static final String PATCH_FORMAT_JSON_MERGE_PATCH = "application/merge-patch+json";
1517
public static final String PATCH_FORMAT_STRATEGIC_MERGE_PATCH = "application/strategic-merge-patch+json";
@@ -18,7 +20,6 @@ public V1Patch(final String value) {
1820
this.value = value;
1921
}
2022

21-
private String value;
2223

2324
public String getValue() {
2425
return value;
@@ -35,5 +36,4 @@ public V1Patch read(JsonReader jsonReader) throws IOException {
3536
throw new UnsupportedOperationException("deserializing patch data is not supported");
3637
}
3738
}
38-
3939
}

0 commit comments

Comments
 (0)