fixed relation label separator

This commit is contained in:
Claudio Atzori 2021-12-01 09:35:45 +01:00
parent 731a141773
commit 987a312128
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<groupId>eu.dnetlib.dhp</groupId>
<artifactId>dhp-schemas</artifactId>
<packaging>jar</packaging>
<version>2.8.22</version>
<version>2.8.22.1</version>
<licenses>
<license>
@ -32,7 +32,7 @@
<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>
<url>https://code-repo.d4science.org/D-Net/dhp-schemas/</url>
<tag>dhp-schemas-2.8.22</tag>
<tag>dhp-schemas-2.8.22.1</tag>
</scm>
<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
*/
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";