Fixing NPE
This commit is contained in:
parent
e25007cb79
commit
95feaa6198
|
@ -129,6 +129,12 @@ public class PropertyUserStore extends AbstractLifeCycle implements PathWatcher.
|
|||
*/
|
||||
public void setConfigPath(File configFile)
|
||||
{
|
||||
if(configFile == null)
|
||||
{
|
||||
_configPath = null;
|
||||
return;
|
||||
}
|
||||
|
||||
_configPath = configFile.toPath();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue