aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedFields.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedFields.java b/config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedFields.java
index 8a95edd0467..7fd16826667 100644
--- a/config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedFields.java
+++ b/config-model/src/main/java/com/yahoo/schema/parser/ConvertParsedFields.java
@@ -188,10 +188,10 @@ public class ConvertParsedFields {
for (var dictOp : parsed.getDictionaryOptions()) {
var dictionary = field.getOrSetDictionary();
switch (dictOp) {
- case HASH: dictionary.updateType(Dictionary.Type.HASH); break;
- case BTREE: dictionary.updateType(Dictionary.Type.BTREE); break;
- case CASED: dictionary.updateMatch(Case.CASED); break;
- case UNCASED: dictionary.updateMatch(Case.UNCASED); break;
+ case HASH -> dictionary.updateType(Dictionary.Type.HASH);
+ case BTREE -> dictionary.updateType(Dictionary.Type.BTREE);
+ case CASED -> dictionary.updateMatch(Case.CASED);
+ case UNCASED -> dictionary.updateMatch(Case.UNCASED);
}
}
for (var index : parsed.getIndexes()) {