Hide PostDataTransactionUtil.POST_TX_TYPE 00/97500/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 15 Sep 2021 22:10:37 +0000 (00:10 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 16 Sep 2021 09:37:45 +0000 (09:37 +0000)
This constant is not used elsewhere, hide it.

Change-Id: I22cead85422db82d619c916d9e2f8e0f45a2975c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/utils/PostDataTransactionUtil.java

index 8bf27ebbc8e9c03b6f70f710f924a608a60f7131..bdb37a0524da69bfe9486ad4433f715c3f691e6a 100644 (file)
@@ -39,12 +39,10 @@ import org.slf4j.LoggerFactory;
 
 /**
  * Util class to post data to DS.
- *
  */
 public final class PostDataTransactionUtil {
     private static final Logger LOG = LoggerFactory.getLogger(PostDataTransactionUtil.class);
-    // FIXME: why is this being reused from other places?
-    static final String POST_TX_TYPE = "POST";
+    private static final String POST_TX_TYPE = "POST";
 
     private PostDataTransactionUtil() {
         // Hidden on purpose