Fixing Javadoc errors

Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
diff --git a/apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java b/apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java
index e792efb..9ec4c88 100644
--- a/apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java
+++ b/apps/acl/src/main/java/org/onosproject/acl/AclWebResource.java
@@ -98,6 +98,7 @@
      *
      * @param stream JSON data describing the rule
      * @return 200 OK
+     * @throws URISyntaxException uri syntax exception
      */
     @POST
     @Consumes(MediaType.APPLICATION_JSON)
diff --git a/apps/dhcp/src/main/java/org/onosproject/dhcp/DhcpStore.java b/apps/dhcp/src/main/java/org/onosproject/dhcp/DhcpStore.java
index 5615af1..e263b3a 100644
--- a/apps/dhcp/src/main/java/org/onosproject/dhcp/DhcpStore.java
+++ b/apps/dhcp/src/main/java/org/onosproject/dhcp/DhcpStore.java
@@ -64,6 +64,7 @@
      * Releases the IP assigned to a Mac ID into the free pool.
      *
      * @param hostId the host ID for which the mapping needs to be changed
+     * @return released ip
      */
     Ip4Address releaseIP(HostId hostId);
 
diff --git a/apps/flowanalyzer/src/main/java/org/onosproject/flowanalyzer/FlowAnalyzer.java b/apps/flowanalyzer/src/main/java/org/onosproject/flowanalyzer/FlowAnalyzer.java
index 6aaaaee..86ab37f 100644
--- a/apps/flowanalyzer/src/main/java/org/onosproject/flowanalyzer/FlowAnalyzer.java
+++ b/apps/flowanalyzer/src/main/java/org/onosproject/flowanalyzer/FlowAnalyzer.java
@@ -85,6 +85,8 @@
      * the network. The possible states are: Cleared (implying that the entry leads to
      * a host), Cycle (implying that it is part of cycle), and Black Hole (implying
      * that the entry does not lead to a single host).
+     *
+     * @return result string
      */
     public String analyze() {
         graph = topologyService.getGraph(topologyService.currentTopology());
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DeviceConfiguration.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DeviceConfiguration.java
index 8fdf81a..b1c6a6e 100644
--- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DeviceConfiguration.java
+++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/DeviceConfiguration.java
@@ -67,6 +67,8 @@
     /**
      * Constructor. Reads all the configuration for all devices of type
      * Segment Router and organizes into various maps for easier access.
+     *
+     * @param cfgService config service
      */
     public DeviceConfiguration(NetworkConfigRegistry cfgService) {
         // Read config from device subject, excluding gatewayIps and subnets.
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/ControllerInfo.java b/core/api/src/main/java/org/onosproject/net/behaviour/ControllerInfo.java
index ded3b3a..0e50956 100644
--- a/core/api/src/main/java/org/onosproject/net/behaviour/ControllerInfo.java
+++ b/core/api/src/main/java/org/onosproject/net/behaviour/ControllerInfo.java
@@ -34,6 +34,7 @@
      *
      * @param ip   the ip address
      * @param port the tcp port
+     * @param type the connection type
      */
     public ControllerInfo(IpAddress ip, int port, String type) {
         this.ip = ip;
diff --git a/core/api/src/main/java/org/onosproject/net/flow/TypedStoredFlowEntry.java b/core/api/src/main/java/org/onosproject/net/flow/TypedStoredFlowEntry.java
index a93dc07..965fd1f 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/TypedStoredFlowEntry.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/TypedStoredFlowEntry.java
@@ -54,6 +54,8 @@
 

     /**

      * Gets the flow live type for this entry.

+     *

+     * @return flow live type

      */

     FlowLiveType flowLiveType();

 

diff --git a/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java b/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
index 068663b..3403486 100644
--- a/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
+++ b/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
@@ -55,9 +55,10 @@
     void hostVanished(HostId hostId);
 
     /**
-     * Notifies the core when a host is no longer detected on a network.
+     * Notifies the core when an IP is no longer associated with a host.
      *
-     * @param hostId id of the host that vanished
+     * @param hostId id of the host
+     * @param ipAddress ip address of host that vanished
      */
     void removeIpFromHost(HostId hostId, IpAddress ipAddress);
 
diff --git a/core/api/src/main/java/org/onosproject/net/statistic/FlowStatisticService.java b/core/api/src/main/java/org/onosproject/net/statistic/FlowStatisticService.java
index f59670b..5216839 100644
--- a/core/api/src/main/java/org/onosproject/net/statistic/FlowStatisticService.java
+++ b/core/api/src/main/java/org/onosproject/net/statistic/FlowStatisticService.java
@@ -94,6 +94,7 @@
      * @param pNumber the port number of the Device to query

      * @param liveType the FlowLiveType  to filter, null means no filtering .

      * @param instType the InstructionType to filter, null means no filtering.

+     * @param topn topn //FIXME what?

      * @return list of flow entry load

      */

     List<TypedFlowEntryWithLoad> loadTopnByType(Device device, PortNumber pNumber,

diff --git a/core/api/src/main/java/org/onosproject/net/statistic/SummaryFlowEntryWithLoad.java b/core/api/src/main/java/org/onosproject/net/statistic/SummaryFlowEntryWithLoad.java
index 60da636..1ec427c 100644
--- a/core/api/src/main/java/org/onosproject/net/statistic/SummaryFlowEntryWithLoad.java
+++ b/core/api/src/main/java/org/onosproject/net/statistic/SummaryFlowEntryWithLoad.java
@@ -94,6 +94,8 @@
 

     /**

      * Returns connect point.

+     *

+     * @return connect point

      */

     public ConnectPoint connectPoint() {

         return cp;

@@ -101,6 +103,8 @@
 

     /**

      * Returns total load of connect point.

+     *

+     * @return total load

      */

     public Load totalLoad() {

         return totalLoad;

@@ -108,6 +112,8 @@
 

     /**

      * Returns immediate load of connect point.

+     *

+     * @return immediate load

      */

     public Load immediateLoad() {

         return immediateLoad;

@@ -115,6 +121,8 @@
 

     /**

      * Returns short load of connect point.

+     *

+     * @return short load

      */

     public Load shortLoad() {

         return shortLoad;

@@ -122,6 +130,8 @@
 

     /**

      * Returns mid load of connect point.

+     *

+     * @return mid load

      */

     public Load midLoad() {

         return midLoad;

@@ -129,6 +139,8 @@
 

     /**

      * Returns long load of connect point.

+     *

+     * @return long load

      */

     public Load longLoad() {

         return longLoad;

@@ -136,6 +148,8 @@
 

     /**

      * Returns unknown load of connect point.

+     *

+     * @return unknown load

      */

     public Load unknownLoad() {

         return unknownLoad;

diff --git a/core/api/src/main/java/org/onosproject/net/statistic/TypedFlowEntryWithLoad.java b/core/api/src/main/java/org/onosproject/net/statistic/TypedFlowEntryWithLoad.java
index 3e2dbdf..a4cbd7d 100644
--- a/core/api/src/main/java/org/onosproject/net/statistic/TypedFlowEntryWithLoad.java
+++ b/core/api/src/main/java/org/onosproject/net/statistic/TypedFlowEntryWithLoad.java
@@ -36,19 +36,37 @@
     private static final int MID_POLL_INTERVAL = 10;

     private static final int LONG_POLL_INTERVAL = 15;

 

-

+    /**

+     * Creates a new typed flow entry with load.

+     *

+     * @param cp connect point

+     * @param tfe typed flow entry

+     * @param load load

+     */

     public TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe, Load load) {

         this.cp = cp;

         this.tfe = tfe;

         this.load = load;

     }

 

+    /**

+     * Creates a new typed flow entry with load.

+     *

+     * @param cp connect point

+     * @param tfe typed flow entry

+     */

     public TypedFlowEntryWithLoad(ConnectPoint cp, TypedStoredFlowEntry tfe) {

         this.cp = cp;

         this.tfe = tfe;

         this.load = new DefaultLoad(tfe.bytes(), 0, typedPollInterval(tfe));

     }

 

+    /**

+     * Creates a new typed flow entry with load.

+     *

+     * @param cp connect point

+     * @param fe flow entry

+     */

     public TypedFlowEntryWithLoad(ConnectPoint cp, FlowEntry fe) {

         this.cp = cp;

         this.tfe = newTypedStoredFlowEntry(fe);

@@ -70,6 +88,8 @@
 

     /**

      * Returns short polling interval.

+     *

+     * @return short poll interval

      */

     public static int shortPollInterval() {

         return CAL_AND_POLL_INTERVAL;

@@ -77,6 +97,8 @@
 

     /**

      * Returns mid polling interval.

+     *

+     * @return mid poll interval

      */

     public static int midPollInterval() {

         return MID_POLL_INTERVAL;

@@ -84,6 +106,8 @@
 

     /**

      * Returns long polling interval.

+     *

+     * @return long poll interval

      */

     public static int longPollInterval() {

         return LONG_POLL_INTERVAL;

@@ -91,6 +115,8 @@
 

     /**

      * Returns average polling interval.

+     *

+     * @return average poll interval

      */

     public static int avgPollInterval() {

         return (CAL_AND_POLL_INTERVAL + MID_POLL_INTERVAL + LONG_POLL_INTERVAL) / 3;

@@ -100,6 +126,7 @@
      * Returns current typed flow entry's polling interval.

      *

      * @param tfe typed flow entry

+     * @return typed poll interval

      */

     public static long typedPollInterval(TypedStoredFlowEntry tfe) {

         checkNotNull(tfe, "TypedStoredFlowEntry cannot be null");

@@ -120,6 +147,7 @@
      * Creates a new typed flow entry with the given flow entry fe.

      *

      * @param fe flow entry

+     * @return new typed flow entry

      */

     public static TypedStoredFlowEntry newTypedStoredFlowEntry(FlowEntry fe) {

         if (fe == null) {

diff --git a/core/api/src/main/java/org/onosproject/store/service/AsyncAtomicCounter.java b/core/api/src/main/java/org/onosproject/store/service/AsyncAtomicCounter.java
index c0df713..cfaf314 100644
--- a/core/api/src/main/java/org/onosproject/store/service/AsyncAtomicCounter.java
+++ b/core/api/src/main/java/org/onosproject/store/service/AsyncAtomicCounter.java
@@ -63,6 +63,7 @@
     /**
      * Atomically sets the given value to the current value.
      *
+     * @param value new value
      * @return future void
      */
     CompletableFuture<Void> set(long value);
diff --git a/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java b/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java
index 8f2bda0..19377cf 100644
--- a/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java
+++ b/core/net/src/main/java/org/onosproject/net/device/impl/OpticalPortOperator.java
@@ -158,8 +158,8 @@
     /**
      * Returns a description built from an existing port and reported status.
      *
-     * @param port
-     * @param isEnabled
+     * @param port port
+     * @param isEnabled true if enabled
      * @return a PortDescription based on the port
      */
     static PortDescription descriptionOf(Port port, boolean isEnabled) {
diff --git a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkProvider.java b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkProvider.java
index 8e5b19a..bf4a485 100644
--- a/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkProvider.java
+++ b/incubator/api/src/main/java/org/onosproject/incubator/net/virtual/VirtualNetworkProvider.java
@@ -17,6 +17,7 @@
      * @param networkId virtual network identifier
      * @param src       source connection point
      * @param dst       destination connection point
+     * @return new tunnel's id
      */
     TunnelId createTunnel(NetworkId networkId, ConnectPoint src, ConnectPoint dst);
 
diff --git a/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java b/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
index f2ff070..86f6226 100644
--- a/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
+++ b/ovsdb/api/src/main/java/org/onosproject/ovsdb/controller/OvsdbClientService.java
@@ -88,13 +88,14 @@
     /**
      * Gets controllers of the node.
      *
+     * @param openflowDeviceId target device id
      * @return set of controllers; empty if no controller is find
      */
     Set<ControllerInfo> getControllers(DeviceId openflowDeviceId);
 
     /**
      * Sets the Controllers for the specified bridge.
-     * <p/>
+     * <p>
      * This method will replace the existing controller list with the new controller
      * list.
      *
@@ -105,7 +106,7 @@
 
     /**
      * Sets the Controllers for the specified device.
-     * <p/>
+     * <p>
      * This method will replace the existing controller list with the new controller
      * list.
      *
diff --git a/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java b/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java
index 0060960..3637783 100644
--- a/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java
+++ b/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java
@@ -56,6 +56,7 @@
      *
      * @param tableName table name
      * @param columns   Map of Column entity
+     * @param uuid UUID of the row
      */
     public Row(String tableName, UUID uuid, Map<String, Column> columns) {
         checkNotNull(tableName, "table name cannot be null");
diff --git a/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/NewAdaptiveFlowStatsCollector.java b/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/NewAdaptiveFlowStatsCollector.java
index a81367c..487cae9 100644
--- a/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/NewAdaptiveFlowStatsCollector.java
+++ b/providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/NewAdaptiveFlowStatsCollector.java
@@ -492,6 +492,7 @@
     /**

      * returns flowMissingXid that indicates the execution of flowMissing process or not(NO_FLOW_MISSING_XID(-1)).

      *

+     * @return xid of missing flow

      */

     public long getFlowMissingXid() {

         return flowMissingXid;