aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2017-01-31 15:00:44 +0100
committerGeir Storli <geirst@yahoo-inc.com>2017-01-31 15:00:44 +0100
commita6755b1e3e0555d04fff62c3f4231e8c249cbdca (patch)
treed34eca318d63d45aeef2c75e5bfbb60516a14c1f
parent33f4a9d0368d4678c3c4acd4ff3b216ed20ee88f (diff)
Correct java doc.
-rw-r--r--document/src/main/java/com/yahoo/document/ReferenceDataType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/main/java/com/yahoo/document/ReferenceDataType.java b/document/src/main/java/com/yahoo/document/ReferenceDataType.java
index 8dc41cd67dc..ed3c3da72a8 100644
--- a/document/src/main/java/com/yahoo/document/ReferenceDataType.java
+++ b/document/src/main/java/com/yahoo/document/ReferenceDataType.java
@@ -62,7 +62,7 @@ public class ReferenceDataType extends DataType {
* be invoked from configuration or model code when resolving temporary types.
*
* @throws IllegalStateException if the previously stored target type is already a concrete
- * instance of DocumentType.
+ * instance (not TemporaryStructuredDataType).
*/
public void setTargetType(StructuredDataType targetType) {
if (! (this.targetType instanceof TemporaryStructuredDataType)) {