mirror of https://github.com/apache/cloudstack.git
moved call on static object to synchronized block
This commit is contained in:
parent
5296c12d2a
commit
30b7fa5919
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue