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:
parent
a27a921331
commit
3ea9062ede
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue