Another variant is to use anonymous class without the name:
Object lock = new Object(){};But the name by itself (RepositionLock) serves like a comment. On 10/3/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
private class RepositionLock {}
private Object repositionLock = new RepositionLock();
-- Mikhail Fursov
