Skip to content

Commit 36ed886

Browse files
committed
Remove dead code
1 parent 5dac2ce commit 36ed886

File tree

1 file changed

+0
-12
lines changed
  • util/src/main/java/io/kubernetes/client/util

1 file changed

+0
-12
lines changed

util/src/main/java/io/kubernetes/client/util/Yaml.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -276,18 +276,6 @@ public CustomRepresenter() {
276276
this.representers.put(byte[].class, new RepresentByteArray());
277277
this.representers.put(Quantity.class, new RepresentQuantity());
278278
this.representers.put(OffsetDateTime.class, new RepresentDateTime());
279-
/*
280-
this.representers.put(ArrayList.class, new Represent() {
281-
@Override
282-
public Node representData(Object data) {
283-
ArrayList arr = (ArrayList) data;
284-
if (arr.size() == 0) {
285-
// return representScalar(Tag.NULL, "null");
286-
return null;
287-
}
288-
return representSequence(Tag.SEQ, arr, FlowStyle.AUTO);
289-
}
290-
});*/
291279
}
292280

293281
private class RepresentDateTime implements Represent {

0 commit comments

Comments
 (0)