summaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/DocumentType.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/main/java/com/yahoo/document/DocumentType.java')
-rwxr-xr-xdocument/src/main/java/com/yahoo/document/DocumentType.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/document/src/main/java/com/yahoo/document/DocumentType.java b/document/src/main/java/com/yahoo/document/DocumentType.java
index 95a35b74f04..15af1b3360b 100755
--- a/document/src/main/java/com/yahoo/document/DocumentType.java
+++ b/document/src/main/java/com/yahoo/document/DocumentType.java
@@ -321,7 +321,7 @@ public class DocumentType extends StructuredDataType {
/**
* Return whether this document type inherits the given document type.
*
- * @param superType The documenttype to check if it inherits.
+ * @param superType the documenttype to check if it inherits
* @return true if it inherits the superType, false if not
*/
public boolean inherits(DocumentType superType) {
@@ -335,8 +335,8 @@ public class DocumentType extends StructuredDataType {
/**
* Gets the field matching a given name.
*
- * @param name the name of a field.
- * @return returns the matching field, or null if not found.
+ * @param name the name of a field
+ * @return returns the matching field, or null if not found
*/
public Field getField(String name) {
Field field = headerType.getField(name);