Sonar Fix: YangParameters.java 68/75168/1
authorArundathi Patil <arundpil@in.ibm.com>
Tue, 1 Jan 2019 06:57:52 +0000 (12:27 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Tue, 1 Jan 2019 06:58:01 +0000 (12:28 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-884
Change-Id: I20949cb665dfd4c1a28cce5fb629a30057a80dbc
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/yangserializers/dfserializer/YangParameters.java

index c94a229..8eb3fb6 100644 (file)
@@ -4,6 +4,8 @@
  * ================================================================================
  * Copyright (C) 2018 Huawei Technologies Co., Ltd. All rights reserved.
  * ================================================================================
+ * Modifications Copyright © 2018 IBM
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -26,6 +28,10 @@ import org.onap.ccsdk.sli.plugins.restapicall.Parameters;
  * Representation of the YANG parameters for the restconf api call node.
  */
 public class YangParameters extends Parameters {
+    /**
+     * Directory path of the YANG file.
+     */
+    public String dirPath;
 
     /**
      * Creates an instance of the YANG parameters.
@@ -33,9 +39,4 @@ public class YangParameters extends Parameters {
     public YangParameters() {
         super();
     }
-
-    /**
-     * Directory path of the YANG file.
-     */
-    public String dirPath;
 }