OLINGO-1009: removing unused method

This commit is contained in:
Ramesh Reddy 2016-09-09 19:04:16 -05:00
parent 591f9522b5
commit 80d046b31c
2 changed files with 0 additions and 14 deletions

View File

@ -311,13 +311,6 @@ public class ODataJsonSerializer extends AbstractODataSerializer {
return true; 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, protected void writeEntity(final ServiceMetadata metadata, final EdmEntityType entityType, final Entity entity,
final ContextURL contextURL, final ExpandOption expand, Integer toDepth, final ContextURL contextURL, final ExpandOption expand, Integer toDepth,
final SelectOption select, final boolean onlyReference, Set<String> ancestors, final JsonGenerator json) final SelectOption select, final boolean onlyReference, Set<String> ancestors, final JsonGenerator json)

View File

@ -427,13 +427,6 @@ public class ODataXmlSerializer extends AbstractODataSerializer {
return entity.getId().toASCIIString(); 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, protected void writeEntity(final ServiceMetadata metadata, final EdmEntityType entityType,
final Entity entity, final ContextURL contextURL, final ExpandOption expand, final Integer toDepth, final Entity entity, final ContextURL contextURL, final ExpandOption expand, final Integer toDepth,
final SelectOption select, final String xml10InvalidCharReplacement, final SelectOption select, final String xml10InvalidCharReplacement,