From c744918d55c304854e4fd316ccf04ce38d6071ff Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Thu, 29 Jun 2017 08:04:38 +0300 Subject: [PATCH] CommonDBUtils possibleRelatedString/Integer were not "possible" refs #7335 Change-Id: Ia71f156e7c3b047582d5568343d8782003af7025 --- .../src/org/simantics/db/common/utils/CommonDBUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.simantics.db.common/src/org/simantics/db/common/utils/CommonDBUtils.java b/bundles/org.simantics.db.common/src/org/simantics/db/common/utils/CommonDBUtils.java index 1bcfb0a8a..ed09abb54 100644 --- a/bundles/org.simantics.db.common/src/org/simantics/db/common/utils/CommonDBUtils.java +++ b/bundles/org.simantics.db.common/src/org/simantics/db/common/utils/CommonDBUtils.java @@ -33,11 +33,11 @@ public class CommonDBUtils { } public static String possibleRelatedString(ReadGraph graph, Resource subject, Resource relation) throws DatabaseException { - return graph.getRelatedValue(subject, relation, Bindings.STRING); + return graph.getPossibleRelatedValue(subject, relation, Bindings.STRING); } public static Integer possibleRelatedInteger(ReadGraph graph, Resource subject, Resource relation) throws DatabaseException { - return graph.getRelatedValue(subject, relation, Bindings.INTEGER); + return graph.getPossibleRelatedValue(subject, relation, Bindings.INTEGER); } public static Resource getPossibleOwner(ReadGraph graph, Resource resource) throws DatabaseException { -- 2.47.1