* @throws CVSException
*/
private List<ICVSRemoteResource> getRemoteResources(IResource[] resources) throws CVSException {
List<ICVSRemoteResource> remoteResources = new ArrayList<ICVSRemoteResource>();
for (int i = 0; i < resources.length; i++) {
ICVSResource cvsResource = CVSWorkspaceRoot
.getCVSResourceFor(resources[i]);
ICVSRemoteResource remote = CVSWorkspaceRoot
.getRemoteResourceFor(cvsResource);
if (remote != null) {
remoteResources.add(remote);