Project

General

Profile

« Previous | Next » 

Revision 53281

Let's not return in the subject list subjects that are no http URI. We are going to discard them anyway...

View differences:

VirtuosoParthenosIterator.java
99 99

  
100 100

  
101 101
	protected String tryGetRDF(final String subjectURL, int attempt) throws URISyntaxException, InterruptedException, VirtuosoParthenosException {
102
		//this is something George said: if it has no http URI, then it is not to be considered relevant by itself
103
		if(!subjectURL.startsWith("http")){
104
			log.debug("Skipping as non-http url: "+subjectURL);
105
			errors.merge("Non-http URLs", 1, Integer::sum);
106
			return null;
107
		}
102 108
		log.debug("Querying Api, remaining attempts: "+attempt);
103 109
		if (attempt <= 0) {
104 110
			errors.merge("Failed tryGetRDF", 1, Integer::sum);

Also available in: Unified diff