aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/documentmodel
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-01-04 11:48:14 +0100
committerJon Bratseth <bratseth@gmail.com>2022-01-04 11:48:14 +0100
commit1d04a279451b57014451f2d22655e53a470f9fec (patch)
treebd7cb02af50d239b6e01e94e390f43d0dd647a4e /config-model/src/main/java/com/yahoo/documentmodel
parent83d87a29cfc311483c433f7bc00135cb97de7af5 (diff)
Avoid deprecated APIs
Diffstat (limited to 'config-model/src/main/java/com/yahoo/documentmodel')
-rw-r--r--config-model/src/main/java/com/yahoo/documentmodel/VespaDocumentType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/documentmodel/VespaDocumentType.java b/config-model/src/main/java/com/yahoo/documentmodel/VespaDocumentType.java
index b29e4704f62..02f5a8c12c4 100644
--- a/config-model/src/main/java/com/yahoo/documentmodel/VespaDocumentType.java
+++ b/config-model/src/main/java/com/yahoo/documentmodel/VespaDocumentType.java
@@ -14,7 +14,7 @@ import com.yahoo.document.PositionDataType;
*/
public class VespaDocumentType {
- public static NewDocumentType INSTANCE = newInstance();
+ public static final NewDocumentType INSTANCE = newInstance();
public static final DataTypeName NAME = new DataTypeName("document");