if (isPathSelected(value0))
if (isPathSelected(path))
  public void removeSelectionPath(TreePath value0)  {		int index = -1;		if (isPathSelected(value0))		{			for (int i = 0; i < selection.length; i++)			{				if (selection[i].equals(value0))				{					index = i;					break;				}			}			TreePath[] temp = new TreePath[selection.length - 1];			System.arraycopy(selection, 0, temp, 0, index);			System.arraycopy(selection, index + 1, temp, index,					selection.length - index - 1);			selection = new TreePath[temp.length];			System.arraycopy(temp, 0, selection, 0, temp.length);			fireValueChanged(new TreeSelectionEvent(this, value0, false,					leadPath, value0));		}  }