Removing useless method
This commit is contained in:
parent
b85c68fde1
commit
e0d1b6ffac
|
@ -72,8 +72,10 @@ public class AsyncTestITCase extends AbstractTestITCase {
|
||||||
entity.getAssociationLinks().clear();
|
entity.getAssociationLinks().clear();
|
||||||
entity.getNavigationLinks().clear();
|
entity.getNavigationLinks().clear();
|
||||||
entity.getEditMediaLinks().clear();
|
entity.getEditMediaLinks().clear();
|
||||||
entity.getProperty("Description").setValue(
|
|
||||||
client.getPrimitiveValueBuilder().setText("AsyncTest#updateEntity").build());
|
entity.getProperties().remove(entity.getProperty("Description"));
|
||||||
|
entity.getProperties().add(client.getObjectFactory().newPrimitiveProperty("Description",
|
||||||
|
client.getPrimitiveValueBuilder().setText("AsyncTest#updateEntity").build()));
|
||||||
|
|
||||||
final ODataEntityUpdateRequest updateReq =
|
final ODataEntityUpdateRequest updateReq =
|
||||||
client.getCUDRequestFactory().getEntityUpdateRequest(uri, UpdateType.MERGE, entity);
|
client.getCUDRequestFactory().getEntityUpdateRequest(uri, UpdateType.MERGE, entity);
|
||||||
|
|
|
@ -70,15 +70,6 @@ public class ODataProperty implements Serializable, ODataInvokeResult {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Updates property value.
|
|
||||||
*
|
|
||||||
* @param value property value that replaces current.
|
|
||||||
*/
|
|
||||||
public void setValue(final ODataValue value) {
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if has null value.
|
* Checks if has null value.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue