From 496c4e527852d0fd64a24bd5ac2506e50ba0afc7 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Thu, 15 Jan 2015 12:13:18 +0100 Subject: supported more automatic registration behaviour, checked for internal name consistency regarding FieldDescriptors, AnnotationClasses and StructuredClasses and made adding methods for automatically registered references protected. --- test/core/model/TestDocumentBuilder.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/core/model/TestDocumentBuilder.hpp') diff --git a/test/core/model/TestDocumentBuilder.hpp b/test/core/model/TestDocumentBuilder.hpp index 081e934..5896802 100644 --- a/test/core/model/TestDocumentBuilder.hpp +++ b/test/core/model/TestDocumentBuilder.hpp @@ -295,8 +295,6 @@ Rooted buildAnnotationEntity( Rooted anno{new AnnotationEntity( document->getManager(), document, descriptor.cast(), start, end, attributes, name)}; - // append the new entity to the document - document->addAnnotation(anno); // and return it. return anno; } -- cgit v1.2.3