Removing useless method

This commit is contained in:
Francesco Chicchiriccò 2014-03-29 13:53:26 +01:00
parent b85c68fde1
commit e0d1b6ffac
2 changed files with 4 additions and 11 deletions

View File

@ -72,8 +72,10 @@ public class AsyncTestITCase extends AbstractTestITCase {
entity.getAssociationLinks().clear();
entity.getNavigationLinks().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 =
client.getCUDRequestFactory().getEntityUpdateRequest(uri, UpdateType.MERGE, entity);

View File

@ -70,15 +70,6 @@ public class ODataProperty implements Serializable, ODataInvokeResult {
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.
*