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:
parent
0e63ab07bc
commit
5b26cfa283
|
@ -118,7 +118,7 @@ public class FisheryRecord extends Common{
|
||||||
String fisheryIdmodified = "";
|
String fisheryIdmodified = "";
|
||||||
if(fisheryId != null){
|
if(fisheryId != null){
|
||||||
|
|
||||||
String[] splitCodesValues = fisheryId.split("+");
|
String[] splitCodesValues = fisheryId.split("\\+");
|
||||||
for (int i = 0; i < splitCodesValues.length; i++) {
|
for (int i = 0; i < splitCodesValues.length; i++) {
|
||||||
String prefixAndCode = splitCodesValues[i];
|
String prefixAndCode = splitCodesValues[i];
|
||||||
String prefix = prefixAndCode.split(":")[0];
|
String prefix = prefixAndCode.split(":")[0];
|
||||||
|
|
|
@ -184,7 +184,7 @@ public class StockRecord extends Common{
|
||||||
String stockIdmodified = "";
|
String stockIdmodified = "";
|
||||||
if(stockId != null){
|
if(stockId != null){
|
||||||
|
|
||||||
String[] splitCodesValues = stockId.split("+");
|
String[] splitCodesValues = stockId.split("\\+");
|
||||||
for (int i = 0; i < splitCodesValues.length; i++) {
|
for (int i = 0; i < splitCodesValues.length; i++) {
|
||||||
String prefixAndCode = splitCodesValues[i];
|
String prefixAndCode = splitCodesValues[i];
|
||||||
String prefix = prefixAndCode.split(":")[0];
|
String prefix = prefixAndCode.split(":")[0];
|
||||||
|
|
Loading…
Reference in New Issue