1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00

[174982] Default encoding for dstore retrieved correctly.

This commit is contained in:
Kushal Munir 2007-02-21 16:36:27 +00:00
parent de0ba15f98
commit 56ffc9f53e

View file

@ -1307,8 +1307,14 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
DataElement queryCmd = ds.localDescriptorQuery(encodingElement.getDescriptor(), C_SYSTEM_ENCODING);
ds.command(queryCmd, encodingElement, true);
DataElement status = ds.command(queryCmd, encodingElement, true);
try {
getStatusMonitor(ds).waitForUpdate(status);
}
catch (Exception e) {
}
remoteEncoding = encodingElement.getValue();
}