Fixing Javadoc errors

Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
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);