Skip to content

Commit 60e8d13

Browse files
DaanHooglandDaan Hoogland
authored andcommitted
findbugs: moved call on static object to synchronized block(cherry
picked from commit f3529a1)
1 parent 9eae5f6 commit 60e8d13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/api/ApiDispatcher.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@ private static void setFieldValue(Field field, BaseCmd cmdObj, Object paramObj,
427427
}
428428
} else {
429429
DateFormat format = BaseCmd.INPUT_FORMAT;
430-
format.setLenient(false);
431430
synchronized (format) {
431+
format.setLenient(false);
432432
field.set(cmdObj, format.parse(paramObj.toString()));
433433
}
434434
}

0 commit comments

Comments
 (0)