diff options
Diffstat (limited to 'config-model/src/main/java/com/yahoo/schema')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/DocumentModelBuilder.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/DocumentModelBuilder.java b/config-model/src/main/java/com/yahoo/schema/DocumentModelBuilder.java index 1a6134b410f..50ae4b72e13 100644 --- a/config-model/src/main/java/com/yahoo/schema/DocumentModelBuilder.java +++ b/config-model/src/main/java/com/yahoo/schema/DocumentModelBuilder.java @@ -8,7 +8,6 @@ import com.yahoo.document.DocumentType; import com.yahoo.document.Field; import com.yahoo.document.MapDataType; import com.yahoo.document.StructDataType; -import com.yahoo.document.TemporaryStructuredDataType; import com.yahoo.document.WeightedSetDataType; import com.yahoo.document.annotation.AnnotationReferenceDataType; import com.yahoo.document.annotation.AnnotationType; @@ -232,9 +231,6 @@ public class DocumentModelBuilder { return replacements.get(type); } DataType original = type; - if (type instanceof TemporaryStructuredDataType) { - throw new IllegalArgumentException("Cannot handle temporary: " + type); - } if (type instanceof TemporaryUnknownType) { // must be a known struct or document type DataType other = repo.getDataType(type.getId()); |