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/28 14:14:53 UTC

git commit: updated refs/heads/master to 60e8d13

Updated Branches:
  refs/heads/master 9eae5f692 -> 60e8d131c


findbugs: moved call on static object to synchronized block(cherry
picked from commit f3529a19a9aad36dbd92e311018643629f19c748)

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/60e8d131
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/60e8d131
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/60e8d131

Branch: refs/heads/master
Commit: 60e8d131cf27834f4cbbcbccf0174a273cd570c3
Parents: 9eae5f6
Author: Daan Hoogland <da...@onecht.net>
Authored: Tue Jan 28 14:14:47 2014 +0100
Committer: Daan Hoogland <dh...@schubergphilis.com>
Committed: Tue Jan 28 14:14:47 2014 +0100

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiDispatcher.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/60e8d131/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 9f4f766..55ef53a 100755
--- a/server/src/com/cloud/api/ApiDispatcher.java
+++ b/server/src/com/cloud/api/ApiDispatcher.java
@@ -427,8 +427,8 @@ public class ApiDispatcher {
                         }
                     } else {
                         DateFormat format = BaseCmd.INPUT_FORMAT;
-                        format.setLenient(false);
                         synchronized (format) {
+                        format.setLenient(false);
                             field.set(cmdObj, format.parse(paramObj.toString()));
                         }
                     }