if (properties.getDefaultServiceVersion() != null) { xmlw.writeStartElement(Constants.AnalyticsConstants.DEFAULT_SERVICE_VERSION); xmlw.writeCharacters(properties.getDefaultServiceVersion()); xmlw.writeEndElement();
if (properties.getDefaultServiceVersion() != null) { Utility.serializeElement(xmlw, Constants.AnalyticsConstants.DEFAULT_SERVICE_VERSION, properties.getDefaultServiceVersion());
public void uploadServiceProperties(final ServiceProperties properties, QueueRequestOptions options, OperationContext opContext) throws StorageException { if (!Utility.isNullOrEmpty(properties.getDefaultServiceVersion())) { throw new IllegalArgumentException(SR.DEFAULT_SERVICE_VERSION_ONLY_SET_FOR_BLOB_SERVICE);
public void uploadServiceProperties(final ServiceProperties properties, TableRequestOptions options, OperationContext opContext) throws StorageException { if (!Utility.isNullOrEmpty(properties.getDefaultServiceVersion())) { throw new IllegalArgumentException(SR.DEFAULT_SERVICE_VERSION_ONLY_SET_FOR_BLOB_SERVICE);
public void uploadServiceProperties(final ServiceProperties properties, QueueRequestOptions options, OperationContext opContext) throws StorageException { if (!Utility.isNullOrEmpty(properties.getDefaultServiceVersion())) { throw new IllegalArgumentException(SR.DEFAULT_SERVICE_VERSION_ONLY_SET_FOR_BLOB_SERVICE);
public void uploadServiceProperties(final ServiceProperties properties, TableRequestOptions options, OperationContext opContext) throws StorageException { if (!Utility.isNullOrEmpty(properties.getDefaultServiceVersion())) { throw new IllegalArgumentException(SR.DEFAULT_SERVICE_VERSION_ONLY_SET_FOR_BLOB_SERVICE);
if (propsA.getDefaultServiceVersion() != null && propsB.getDefaultServiceVersion() != null) { assertEquals(propsA.getDefaultServiceVersion(), propsB.getDefaultServiceVersion()); assertNull(propsA.getDefaultServiceVersion()); assertNull(propsB.getDefaultServiceVersion());