mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[8563] [DURACOM-101] Changed method name and visibility
This commit is contained in:
@@ -208,7 +208,7 @@ public class DCInput {
|
||||
visibility = fieldMap.get("visibility");
|
||||
readOnly = fieldMap.get("readonly");
|
||||
vocabulary = fieldMap.get("vocabulary");
|
||||
regex = fieldMap.get("regex");
|
||||
regex = extractRegexField(fieldMap);
|
||||
String closedVocabularyStr = fieldMap.get("closedVocabulary");
|
||||
closedVocabulary = "true".equalsIgnoreCase(closedVocabularyStr)
|
||||
|| "yes".equalsIgnoreCase(closedVocabularyStr);
|
||||
@@ -239,7 +239,7 @@ public class DCInput {
|
||||
|
||||
}
|
||||
|
||||
public String extractRegex(Map<String, String> fieldMap) {
|
||||
private String extractRegexField(Map<String, String> fieldMap) {
|
||||
String regex = fieldMap.get("regex");
|
||||
Pattern generatedPattern = null;
|
||||
if (regex != null) {
|
||||
|
Reference in New Issue
Block a user