fixed relation label separator

This commit is contained in:
Claudio Atzori 2021-12-01 09:28:56 +01:00
parent 9663d50027
commit 80f4baa412
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
<connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection> <connection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</connection>
<developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection> <developerConnection>scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git</developerConnection>
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url> <url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
<tag>dhp-schemas-2.9.23</tag> <tag>dhp-schemas-2.9.24</tag>
</scm> </scm>
<description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description> <description>This module contains common schema classes meant to be used across the dnet-hadoop submodules</description>

View File

@ -181,7 +181,7 @@ public class ModelSupport {
* @return * @return
*/ */
public static String rel(String relType, String subRelType, String relClass) { public static String rel(String relType, String subRelType, String relClass) {
return String.format("%s-%s-%s", relType, subRelType, relClass); return String.format("%s_%s_%s", relType, subRelType, relClass);
} }
private static final String schemeTemplate = "dnet:%s_%s_relations"; private static final String schemeTemplate = "dnet:%s_%s_relations";