a) private static final Map LOCKED_RECORDS = new HashMap();
b) private static final Map lockedRecords = new HashMap();
Hi Wojtek,
Definitely a: constants are indeed always in upper case. This may look strange when the constant is an object, which' state can still change, but this is the correct way.
However, you might consider making it non-final and then
you should make it like:
private static Map lockedRecords = new HashMap();
That looks less strange.
Frans.