1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 20:45:22 +02:00

[227881] [dstore][threaded] There is no chance to set client object for getUserPreferencesDirectory()

This commit is contained in:
David McKnight 2008-04-22 11:51:33 +00:00
parent a27a921331
commit 3ea9062ede

View file

@ -4403,6 +4403,8 @@ public final class DataStore
*/ */
public void setClient(Client client) public void setClient(Client client)
{ {
// the most likely scenario here is that _client is null since
// setClient() is the only way to make the client not null
if (client != _client){ if (client != _client){
_client = client; _client = client;
_userPreferencesDirectory = null; _userPreferencesDirectory = null;