findbugs: moved call on static object to synchronized block(cherry

picked from commit f3529a19a9)
This commit is contained in:
Daan Hoogland 2014-01-28 14:14:47 +01:00 committed by Daan Hoogland
parent 9eae5f6929
commit 60e8d131cf
1 changed files with 1 additions and 1 deletions

View File

@ -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()));
}
}