mirror of https://github.com/apache/cloudstack.git
findbugs: moved call on static object to synchronized block(cherry
picked from commit f3529a19a9)
This commit is contained in:
parent
9eae5f6929
commit
60e8d131cf
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue