aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java b/config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java
index 73d699dda1b..edc25bd8246 100644
--- a/config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java
+++ b/config-model/src/main/java/com/yahoo/vespa/documentmodel/FieldView.java
@@ -1,4 +1,4 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.documentmodel;
import com.yahoo.document.Field;
@@ -9,7 +9,7 @@ import java.util.LinkedHashMap;
import java.util.Map;
/**
- * @author baldersheim
+ * @author baldersheim
*/
public class FieldView implements Serializable {
@@ -30,8 +30,9 @@ public class FieldView implements Serializable {
/**
* This method will add a field to a view. All fields must come from the same document type. Not enforced here.
- * @param field The field to add.
- * @return Itself for chaining purposes.
+ *
+ * @param field the field to add.
+ * @return itself for chaining purposes.
*/
public FieldView add(Field field) {
if (fields.containsKey(field.getName())) {