mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Corrected comments
This commit is contained in:
parent
d50bf482b2
commit
83b89115bf
1 changed files with 9 additions and 10 deletions
|
@ -168,11 +168,11 @@ public class SyncVariableDataAccess {
|
||||||
GetVariableValueQuery query = new GetVariableValueQuery(dmc);
|
GetVariableValueQuery query = new GetVariableValueQuery(dmc);
|
||||||
session.getExecutor().execute(query);
|
session.getExecutor().execute(query);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Now we have the data, go and get it. Since the call is completed now
|
* This class is about synchronous access to the variable, so wait until
|
||||||
* the ".get()" will not suspend it will immediately return with the
|
* the query has completed on the DSF session thread and return the
|
||||||
* data.
|
* result.
|
||||||
*/
|
*/
|
||||||
try {
|
try {
|
||||||
return query.get();
|
return query.get();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
@ -259,11 +259,10 @@ public class SyncVariableDataAccess {
|
||||||
SetVariableValueQuery query = new SetVariableValueQuery(dmc, value, formatId);
|
SetVariableValueQuery query = new SetVariableValueQuery(dmc, value, formatId);
|
||||||
session.getExecutor().execute(query);
|
session.getExecutor().execute(query);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Now we have the data, go and get it. Since the call is completed now
|
* This class is about synchronous access to the variable, so wait until
|
||||||
* the ".get()" will not suspend it will immediately return with the
|
* the query has completed on the DSF session thread.
|
||||||
* data.
|
*/
|
||||||
*/
|
|
||||||
try {
|
try {
|
||||||
/*
|
/*
|
||||||
* Return value is irrelevant, any error would come through with an
|
* Return value is irrelevant, any error would come through with an
|
||||||
|
|
Loading…
Add table
Reference in a new issue