You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/01/25 23:46:24 UTC
git commit: updated refs/heads/4.3-forward to f3529a1
Updated Branches:
refs/heads/4.3-forward 43ba36f97 -> f3529a19a
moved call on static object to synchronized block
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f3529a19
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f3529a19
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f3529a19
Branch: refs/heads/4.3-forward
Commit: f3529a19a9aad36dbd92e311018643629f19c748
Parents: 43ba36f
Author: Daan Hoogland <da...@onecht.net>
Authored: Sat Jan 25 23:46:18 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sat Jan 25 23:46:18 2014 +0100
----------------------------------------------------------------------
server/src/com/cloud/api/ApiDispatcher.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f3529a19/server/src/com/cloud/api/ApiDispatcher.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiDispatcher.java b/server/src/com/cloud/api/ApiDispatcher.java
index 44fb676..9624c61 100755
--- a/server/src/com/cloud/api/ApiDispatcher.java
+++ b/server/src/com/cloud/api/ApiDispatcher.java
@@ -429,9 +429,9 @@ public class ApiDispatcher {
}
}
} else {
- DateFormat format = BaseCmd.INPUT_FORMAT;
- format.setLenient(false);
+ final DateFormat format = BaseCmd.INPUT_FORMAT;
synchronized (format) {
+ format.setLenient(false);
field.set(cmdObj, format.parse(paramObj.toString()));
}
}