diff options
author | 2021-10-19 14:03:55 +0200 | |
---|---|---|
committer | 2021-10-19 19:13:49 +0200 | |
commit | 6d2e86c25271ab5358b44e1081c6f742a5ad7a14 (patch) | |
tree | aeccde0aa537b1d60723b605e9fa254816d1384f /language-to-store | |
parent | Merge pull request #2 from golej-marci/language-to-store (diff) | |
download | refinery-6d2e86c25271ab5358b44e1081c6f742a5ad7a14.tar.gz refinery-6d2e86c25271ab5358b44e1081c6f742a5ad7a14.tar.zst refinery-6d2e86c25271ab5358b44e1081c6f742a5ad7a14.zip |
First try to fix bugs
Diffstat (limited to 'language-to-store')
-rw-r--r-- | language-to-store/src/main/java/tools/refinery/language/mapping/PartialModelMapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/language-to-store/src/main/java/tools/refinery/language/mapping/PartialModelMapper.java b/language-to-store/src/main/java/tools/refinery/language/mapping/PartialModelMapper.java index d37c9ec7..9a4d0aa7 100644 --- a/language-to-store/src/main/java/tools/refinery/language/mapping/PartialModelMapper.java +++ b/language-to-store/src/main/java/tools/refinery/language/mapping/PartialModelMapper.java | |||
@@ -132,7 +132,7 @@ public class PartialModelMapper { | |||
132 | for (tools.refinery.language.model.problem.Relation r : partialModelMapperDTO.getRelationMap().keySet()) { | 132 | for (tools.refinery.language.model.problem.Relation r : partialModelMapperDTO.getRelationMap().keySet()) { |
133 | if (r.getName().equals(searchedRelation)) relation = r; | 133 | if (r.getName().equals(searchedRelation)) relation = r; |
134 | } | 134 | } |
135 | if(relation.equals(null)) throw new PartialModelMapperException(errorText); | 135 | if(relation == null) throw new PartialModelMapperException(errorText); |
136 | return relation; | 136 | return relation; |
137 | } | 137 | } |
138 | 138 | ||