[VIVO-1079] Fix debugging problem when not using constructed models
This commit is contained in:
parent
34d78a9463
commit
acae9bbf94
1 changed files with 4 additions and 2 deletions
|
@ -293,8 +293,10 @@ public class ObjectPropertyStatementDaoJena extends JenaBaseDao implements Objec
|
||||||
Model constructedModel = constructModelForSelectQueries(
|
Model constructedModel = constructModelForSelectQueries(
|
||||||
subjectUri, propertyUri, rangeUri, constructQueryStrings);
|
subjectUri, propertyUri, rangeUri, constructQueryStrings);
|
||||||
|
|
||||||
if(log.isDebugEnabled()) {
|
if (constructedModel != null) {
|
||||||
log.debug("Constructed model has " + constructedModel.size() + " statements.");
|
if(log.isDebugEnabled()) {
|
||||||
|
log.debug("Constructed model has " + constructedModel.size() + " statements.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if("desc".equalsIgnoreCase( sortDirection ) ){
|
if("desc".equalsIgnoreCase( sortDirection ) ){
|
||||||
|
|
Loading…
Add table
Reference in a new issue