Switch time keeping to java.time interfaces
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / utils / RestconfConstants.java
index f2886179040e307ff8507c7685ab52522d6f73c8..1ccb30b4102d6a8e616b046b1255dcc2f963a085 100644 (file)
@@ -8,7 +8,6 @@
 package org.opendaylight.restconf.utils;
 
 import com.google.common.base.Splitter;
-import java.text.SimpleDateFormat;
 
 /**
  * Util class for Restconf constants.
@@ -17,13 +16,12 @@ import java.text.SimpleDateFormat;
 public final class RestconfConstants {
 
     public static final String XML = "+xml";
-    public static final String XML_ORIG = "-xml";
     public static final String JSON = "+json";
     public static final String MOUNT = "yang-ext:mount";
     public static final String IDENTIFIER = "identifier";
-    public static final SimpleDateFormat REVISION_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
     public static final char SLASH = '/';
     public static final Splitter SLASH_SPLITTER = Splitter.on(SLASH);
+    public static final String DRAFT_PATTERN = "restconf/17";
 
     private RestconfConstants() {
         throw new UnsupportedOperationException("Util class");