OLINGO-1009: removing unused method
This commit is contained in:
parent
591f9522b5
commit
80d046b31c
|
@ -311,13 +311,6 @@ public class ODataJsonSerializer extends AbstractODataSerializer {
|
|||
return true;
|
||||
}
|
||||
|
||||
private boolean cycleDetected(final Set<String> ancestors, String child) {
|
||||
if (ancestors == null) {
|
||||
return false;
|
||||
}
|
||||
return ancestors.contains(child);
|
||||
}
|
||||
|
||||
protected void writeEntity(final ServiceMetadata metadata, final EdmEntityType entityType, final Entity entity,
|
||||
final ContextURL contextURL, final ExpandOption expand, Integer toDepth,
|
||||
final SelectOption select, final boolean onlyReference, Set<String> ancestors, final JsonGenerator json)
|
||||
|
|
|
@ -427,13 +427,6 @@ public class ODataXmlSerializer extends AbstractODataSerializer {
|
|||
return entity.getId().toASCIIString();
|
||||
}
|
||||
|
||||
private boolean cycleDetected(final Set<String> ancestors, String child) {
|
||||
if (ancestors == null) {
|
||||
return false;
|
||||
}
|
||||
return ancestors.contains(child);
|
||||
}
|
||||
|
||||
protected void writeEntity(final ServiceMetadata metadata, final EdmEntityType entityType,
|
||||
final Entity entity, final ContextURL contextURL, final ExpandOption expand, final Integer toDepth,
|
||||
final SelectOption select, final String xml10InvalidCharReplacement,
|
||||
|
|
Loading…
Reference in New Issue