private void setTrusted(Index index, boolean trusted) { if (index != null) { index.setTrusted(null, trusted); } }