Project

General

Profile

« Previous | Next » 

Revision 48756

reverted to the previous version

View differences:

ResolveAndIndexJobNode.java
84 84
                continue;
85 85
            }
86 86
            for (final ObjectRelation rels : result.getRelations()) {
87
                URL url = new URL(String.format(BASE_CFG_URL, indexHost, indexName, generateIdentifier(result.getPid(), rels.getTargetPID().getId())));
88
                HttpURLConnection http = (HttpURLConnection) url.openConnection();
89
                int statusCode = http.getResponseCode();
90
                http.disconnect();
91
                if (statusCode == 200)
92
                    continue;
93

  
94 87
                final ResolvedObject resolvedRelation = resolveRelation(rels.getTargetPID(), result.getDatasourceProvenance().get(0));
95

  
96

  
97 88
                final Scholix.Builder scholix = Scholix.newBuilder();
98 89

  
99 90
                scholix.addLinkproviderBuilder()

Also available in: Unified diff