[VIVO-1401] Don't return a constructed model if there are no construct queries
This commit is contained in:
parent
792ca4138f
commit
963c04340f
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ public class DataPropertyStatementDaoJena extends JenaBaseDao implements DataPro
|
|||
String propertyUri,
|
||||
Set<String> constructQueries) {
|
||||
|
||||
if (constructQueries == null) {
|
||||
if (constructQueries == null || constructQueries.isEmpty() ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue