fix more javadocs warnings 93/75793/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 4 Sep 2018 13:49:54 +0000 (15:49 +0200)
committerMartial COULIBALY <martial.coulibaly@gfi.fr>
Thu, 6 Sep 2018 06:46:34 +0000 (06:46 +0000)
Change-Id: Ic03ee472e01b7d229759fb2c5fca93c44b7332b2
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
(cherry picked from commit aa5b53b863a5a699d32febadc3345baa4038a653)

common/src/main/java/org/opendaylight/transportpce/common/openroadminterfaces/OpenRoadmInterfaces.java
pce/src/test/java/org/opendaylight/transportpce/pce/PceManyTests.java
pce/src/test/java/org/opendaylight/transportpce/pce/utils/PceTestData.java
renderer/src/main/java/org/opendaylight/transportpce/renderer/openroadminterface/OpenRoadmInterfaceFactory.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/validation/checks/CheckCoherencyHardSoft.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/validation/checks/ServicehandlerCompliancyCheck.java
servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/validation/checks/ServicehandlerTxRxCheck.java

index d0bc45e9553d97c74eda18163ef21b57462f29b4..fa45f1913f300518d0272300c9a4186febdd680c 100644 (file)
@@ -43,6 +43,8 @@ public interface OpenRoadmInterfaces {
      * @param nodeId node ID
      * @param circuitPackName Circtuit-Pack name
      * @param activate activate or not
+     *
+     * @throws OpenRoadmInterfaceException OpenRoadm Interface Exception
      */
     void postEquipmentState(String nodeId, String circuitPackName, boolean activate) throws OpenRoadmInterfaceException;
 
index ef1e5d41910e091b40fb0b38c3bdb349d6588b4a..5575e4722c87e67e396047bfc77a05b4240ae7a5 100644 (file)
@@ -47,6 +47,8 @@ public class PceManyTests extends AbstractTest {
      *   expected path computation result
      * @param topologyDataPath
      *   path to topology data file to be used for DataStore population
+     *
+     * @throws Exception exception throws by the function
      */
     public PceManyTests(PathComputationRequestInput input,
                         PathComputationRequestOutput expectedOutput, String topologyDataPath) throws Exception {
index 0e1394e4f2f1c908837c9c6ba5aa085e3a310a4b..d4747a53f125d30f2e83175bd8f0feff1a116627 100644 (file)
@@ -223,6 +223,8 @@ public final class PceTestData {
 
     /**
      * Generate Data for Test 1 result 5-4.
+     * @param wl WaveLength
+     *
      * @return output PathComputationRequestOutput data
      */
     public static PathComputationRequestOutput getPCE_test_result_54(Long wl) {
@@ -466,6 +468,8 @@ public final class PceTestData {
          "pce:pce-metric": "hop-count"
        }
      }</code>
+     * @param base Path Computation Request Input base
+     *
      * @return input PathComputationRequestInput data
      */
     public static PathComputationRequestInput build_diversity_from_request(PathComputationRequestInput base) {
index 734c6e5818dcba4b648e8d376b2e1eb336766e3f..5d3b2a86eedde87c858047863aff58c1a17fc031 100644 (file)
@@ -219,6 +219,7 @@ public class OpenRoadmInterfaceFactory {
      *
      *
      * @return Name of the interface if successful, otherwise return null.
+     * @throws OpenRoadmInterfaceException OpenRoadmInterfaceException
      */
 
     public String createOpenRoadmOtu4Interface(String nodeId, String logicalConnPoint, String supportOchInterface)
index a9a2d80b25ff496ba3043ba902989a800e3e47cc..f3c015a0446dce3f76cbbda2fd5717599f05c738 100644 (file)
@@ -23,6 +23,9 @@ public final class CheckCoherencyHardSoft {
 
     /**
      * function to check coherency between hard and soft constraints.
+     * @param hard Hard Constraints
+     * @param soft Soft Constraints
+     *
      * @return  <code> true </code>  if coherent
      *          <code> false </code> else
      */
index 72995e6ba474c716161461b19b152edc4212af08..0ee2ba8f701a9d4e97a320df1cf3f0a895996af6 100644 (file)
@@ -35,16 +35,24 @@ public final class ServicehandlerCompliancyCheck {
     /**
      * Check Compliancy of Service request.
      *
+     * @param serviceName
+     *            Service Name
+     * @param sdncRequestHeader
+     *            sdncRequestHeader
+     * @param conType
+     *            Connection type
+     * @param action
+     *            RPC Actions
      * @param contype
      *            Boolean to check connection Type
-     * @param sndcRequest
-     *            Boolean to check sndcRequestHeader
+     * @param sdncRequest
+     *            Boolean to check sdncRequestHeader
      *
      * @return true if String ok false if not
      */
     public static ComplianceCheckResult check(String serviceName, SdncRequestHeader sdncRequestHeader,
                                        ConnectionType conType, RpcActions action,
-                                       Boolean contype, Boolean sndcRequest) {
+                                       Boolean contype, Boolean sdncRequest) {
         boolean result = true;
         String message = "";
         if (!checkString(serviceName)) {
@@ -54,7 +62,7 @@ public final class ServicehandlerCompliancyCheck {
             result = false;
             message = "Service ConnectionType is not set";
         }
-        if (sndcRequest) {
+        if (sdncRequest) {
             if (sdncRequestHeader != null) {
                 RpcActions serviceAction = sdncRequestHeader.getRpcAction();
                 String requestId = sdncRequestHeader.getRequestId();
index 367e26dc113255919d830f5a6a5292ff8441effb..e55cf5cdc7fe8cb6e7e27de797f0a305c1e3d071 100644 (file)
@@ -124,6 +124,8 @@ public final class ServicehandlerTxRxCheck {
 
     /**
      * Check Compliancy of Service TxRx info.
+     * @param serviceEnd Service Endpoint
+     * @param endpointType Endpoint type
      *
      * @return true if String ok false if not
      */