Fixed typo

This commit is contained in:
Lukas Eder 2012-09-11 23:36:46 +02:00
parent ba5bdd2c7b
commit f231df8c82

View File

@ -180,17 +180,17 @@ class ClientDebugger implements Debugger {
}
}
private Boolean isEditionSupported;
private final Object IS_EDITION_SUPPORTED_LOCK = new Object();
private Boolean isExecutionSupported;
private final Object IS_EXECUTION_SUPPORTED_LOCK = new Object();
@Override
public boolean isExecutionSupported() {
synchronized (IS_EDITION_SUPPORTED_LOCK) {
if(isEditionSupported == null) {
isEditionSupported = comm.syncSend(new CMS_isExecutionSupported());
synchronized (IS_EXECUTION_SUPPORTED_LOCK) {
if(isExecutionSupported == null) {
isExecutionSupported = comm.syncSend(new CMS_isExecutionSupported());
}
}
return Boolean.TRUE.equals(isEditionSupported);
return Boolean.TRUE.equals(isExecutionSupported);
}
@Override