Project

General

Profile

« Previous | Next » 

Revision 9c97664e

Added by Andreas Kohlbecker over 8 years ago

tests with more detailed expectations

View differences:

src/main/java/org/bgbm/biovel/drf/query/SparqlClient.java
294 294
        try {
295 295
            boolean hasNoPropertiesInGraph = !_subject.listProperties().hasNext();
296 296
            if(_subject.isURIResource() && hasNoPropertiesInGraph ) {
297
                // FIXME the same uri resource is loaded multiple times
298
                //       create an in memory model as cache for the models loaded
299
                //       in the getFromUri() method
300
                //       so that all resources loaded are put into that model
301
                //       clean up the cache when it reaches a specific size
297 302
                logger.debug("loading UriResource " + _subject.getURI());
298 303
                _subject = getFromUri(_subject.getURI());
299 304
            }

Also available in: Unified diff