@SuppressWarnings("deprecation") private static String getExistingSource(Source source) { if (source != null) { return (source.getSourceClientId() != null) ? source.getSourceClientId().getPath() : source.getSourceOrcid().getPath(); } return null; }
orcidMessageCount++; } else { SourceClientId clientId = notification.getSource().getSourceClientId(); if (clientId != null) { memberIds.add(clientId.getPath());