synchronized (this) {
if (shutdown)
throw new IllegalStateException(NLS.bind(Messages.CoordinatorShutdown, name, timeout));
synchronized (CoordinatorImpl.class) {
coordinations.add(coordination);
<BUG>idToCoordination.put(new Long(coordination.getId()), coordination);
</BUG>
}
}
if (timeout > 0) {

synchronized (this) {
if (shutdown)
throw new IllegalStateException(NLS.bind(Messages.CoordinatorShutdown, name, timeout));
synchronized (CoordinatorImpl.class) {
coordinations.add(coordination);
idToCoordination.put(Long.valueOf(coordination.getId()), coordination);
}
}
if (timeout > 0) {
