X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FNewStatementImpl.java;h=518be61d42e73a2467f1a2835e507b61088dbaf5;hp=77cda628a26f1c17d19768f466d0166394ae7e5a;hb=4aba159170fc72d39c2f930ea224aa71f4cdc2e7;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07 diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/NewStatementImpl.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/NewStatementImpl.java index 77cda628a..518be61d4 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/NewStatementImpl.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/NewStatementImpl.java @@ -26,7 +26,7 @@ public class NewStatementImpl implements Statement { throw new IllegalArgumentException(); if(null == predicate) throw new IllegalArgumentException(); - if(null == predicate) + if(null == object) throw new IllegalArgumentException(); this.subject = (ResourceImpl)subject; this.predicate = (ResourceImpl)predicate;