summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Young <consult.awy@gmail.com>2015-09-17 08:16:29 (GMT)
committerAlan Young <consult.awy@gmail.com>2015-09-17 08:16:29 (GMT)
commitc168fcd0c2468ec939b8d164175e9c5776a63147 (patch)
treeb00bef3049895cc216f2ed0b16a8ca2eb242fb02 /src/com/isode/stroke/elements
parent3254a97b43b5ea922dcb4d687382bf0be95f9089 (diff)
downloadstroke-c168fcd0c2468ec939b8d164175e9c5776a63147.zip
stroke-c168fcd0c2468ec939b8d164175e9c5776a63147.tar.bz2
Do not override system default time-zone.
Remove calls to TimeZone.setDefault(). Whatever problem the changes that introduced these calls were supposed to solve, overriding the system default timezone is not the right solution. Change-Id: I626419a1c00fe9d68df0c63472d4433e12502acb
Diffstat (limited to 'src/com/isode/stroke/elements')
-rw-r--r--src/com/isode/stroke/elements/JingleFileTransferFileInfo.java1
1 files changed, 0 insertions, 1 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;