Revision 49433
Added by Alessia Bardi over 6 years ago
ParthenosRegistryResource.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.parthenos.registry; |
2 | 2 |
|
3 |
import org.apache.commons.lang3.StringUtils; |
|
4 |
|
|
3 | 5 |
/** |
4 | 6 |
* Created by Alessia Bardi on 06/10/2017. |
5 | 7 |
* |
... | ... | |
24 | 26 |
return type; |
25 | 27 |
} |
26 | 28 |
|
29 |
public String getRegistryType(){ |
|
30 |
return StringUtils.remove(type, '-'); |
|
31 |
} |
|
32 |
|
|
27 | 33 |
public ParthenosRegistryResource setType(final String type) { |
28 | 34 |
this.type = type; |
29 | 35 |
return this; |
Also available in: Unified diff
no way the registry can handle '-'