summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/isode/stroke/elements/JingleFileTransferFileInfo.java1
-rw-r--r--src/com/isode/stroke/vcards/VCardManager.java1
-rw-r--r--src/com/isode/stroke/vcards/VCardMemoryStorage.java1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/com/isode/stroke/elements/JingleFileTransferFileInfo.java b/src/com/isode/stroke/elements/JingleFileTransferFileInfo.java
index fc4675e..271a0e2 100644
--- a/src/com/isode/stroke/elements/JingleFileTransferFileInfo.java
+++ b/src/com/isode/stroke/elements/JingleFileTransferFileInfo.java
@@ -79,7 +79,6 @@ public class JingleFileTransferFileInfo extends Payload {
public JingleFileTransferFileInfo(String name, String description, long size, Date date) {
NotNull.exceptIfNull(name, "name");
NotNull.exceptIfNull(description, "description");
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
this.name_ = name;
this.description_ = description;
this.size_ = size;
diff --git a/src/com/isode/stroke/vcards/VCardManager.java b/src/com/isode/stroke/vcards/VCardManager.java
index a5b62e8..80e7942 100644
--- a/src/com/isode/stroke/vcards/VCardManager.java
+++ b/src/com/isode/stroke/vcards/VCardManager.java
@@ -39,7 +39,6 @@ public class VCardManager {
this.ownJID = ownJID;
this.iqRouter = iqRouter;
this.storage = vcardStorage;
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
}
public void delete() {
diff --git a/src/com/isode/stroke/vcards/VCardMemoryStorage.java b/src/com/isode/stroke/vcards/VCardMemoryStorage.java
index 24ca6f4..6a1bc75 100644
--- a/src/com/isode/stroke/vcards/VCardMemoryStorage.java
+++ b/src/com/isode/stroke/vcards/VCardMemoryStorage.java
@@ -16,7 +16,6 @@ import java.util.TimeZone;
public class VCardMemoryStorage extends VCardStorage {
public VCardMemoryStorage(CryptoProvider crypto) {
super(crypto);
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
}
private Map<JID, VCard> vcards = new HashMap<JID, VCard>();