public void setRefid()

in src/main/java/org/apache/maven/resolver/internal/ant/types/RemoteRepository.java [83:91]


    public void setRefid(Reference ref) {
        if (id != null || url != null || type != null || checksums != null || updates != null) {
            throw tooManyAttributes();
        }
        if (releasePolicy != null || snapshotPolicy != null || authentication != null) {
            throw noChildrenAllowed();
        }
        super.setRefid(ref);
    }