Revision 1a79c76b src/com/rackspace/cloud/servers/api/client/ServerManager.java
b/src/com/rackspace/cloud/servers/api/client/ServerManager.java | ||
---|---|---|
27 | 27 |
import org.xml.sax.XMLReader; |
28 | 28 |
|
29 | 29 |
import android.content.Context; |
30 |
|
|
30 | 31 |
import com.rackspace.cloud.files.api.client.CustomHttpClient; |
31 | 32 |
import com.rackspace.cloud.servers.api.client.http.HttpBundle; |
32 | 33 |
import com.rackspace.cloud.servers.api.client.parsers.CloudServersFaultXMLParser; |
... | ... | |
496 | 497 |
|
497 | 498 |
StringEntity tmp = null; |
498 | 499 |
try { |
499 |
tmp = new StringEntity("<backupSchedule xmlns=\"http://docs.rackspacecloud.com/servers/api/v1.0\" enabled=\"" + enabled + "\" " + |
|
500 |
"weekly=\"" + weeklyValue + "\" daily=\"" + dailyValue + "\"/>"); |
|
501 |
|
|
500 |
tmp = new StringEntity("<?xml version=\"1.0\" encoding=\"UTF-8\"?> <backupSchedule xmlns=\"http://docs.rackspacecloud.com/servers/api/v1.0\" enabled=\"" + enabled + "\" " + |
|
501 |
"weekly=\"" + weeklyValue + "\" daily=\"" + dailyValue + "\"/>"); |
|
502 | 502 |
} catch (UnsupportedEncodingException e) { |
503 | 503 |
CloudServersException cse = new CloudServersException(); |
504 | 504 |
cse.setMessage(e.getLocalizedMessage()); |
Also available in: Unified diff