minor fix for GRSF Semantic id

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@154316 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-09-20 13:57:05 +00:00
parent 0e63ab07bc
commit 5b26cfa283
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ public class FisheryRecord extends Common{
String fisheryIdmodified = "";
if(fisheryId != null){
String[] splitCodesValues = fisheryId.split("+");
String[] splitCodesValues = fisheryId.split("\\+");
for (int i = 0; i < splitCodesValues.length; i++) {
String prefixAndCode = splitCodesValues[i];
String prefix = prefixAndCode.split(":")[0];

View File

@ -184,7 +184,7 @@ public class StockRecord extends Common{
String stockIdmodified = "";
if(stockId != null){
String[] splitCodesValues = stockId.split("+");
String[] splitCodesValues = stockId.split("\\+");
for (int i = 0; i < splitCodesValues.length; i++) {
String prefixAndCode = splitCodesValues[i];
String prefix = prefixAndCode.split(":")[0];