Charles M.C. Chan

Fix javadoc warnings

[WARNING] /Users/rascov/onos/providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/SuppressionRulesStore.java:88: warning: no description for @throws
[WARNING] /Users/rascov/onos/providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/SuppressionRulesStore.java:146: warning: no description for @throws
[WARNING] /Users/rascov/onos/apps/sdnip/src/main/java/org/onosproject/sdnip/bgp/BgpSession.java:706: warning: no @param for ctx
[WARNING] /Users/rascov/onos/apps/sdnip/src/main/java/org/onosproject/sdnip/bgp/BgpSession.java:751: warning: no @param for ctx

Change-Id: Iae4d1826249e3612e1a16d1a9eeaebdc4c032f35
...@@ -702,6 +702,8 @@ public class BgpSession extends SimpleChannelHandler { ...@@ -702,6 +702,8 @@ public class BgpSession extends SimpleChannelHandler {
702 702
703 /** 703 /**
704 * Restarts the BGP KeepaliveTimer. 704 * Restarts the BGP KeepaliveTimer.
705 + *
706 + * @param ctx the Channel Handler Context to use
705 */ 707 */
706 void restartKeepaliveTimer(ChannelHandlerContext ctx) { 708 void restartKeepaliveTimer(ChannelHandlerContext ctx) {
707 if (localKeepaliveInterval == 0) { 709 if (localKeepaliveInterval == 0) {
...@@ -747,6 +749,8 @@ public class BgpSession extends SimpleChannelHandler { ...@@ -747,6 +749,8 @@ public class BgpSession extends SimpleChannelHandler {
747 749
748 /** 750 /**
749 * Restarts the BGP Session Timeout Timer. 751 * Restarts the BGP Session Timeout Timer.
752 + *
753 + * @param ctx the Channel Handler Context to use
750 */ 754 */
751 void restartSessionTimeoutTimer(ChannelHandlerContext ctx) { 755 void restartSessionTimeoutTimer(ChannelHandlerContext ctx) {
752 if (remoteHoldtime == 0) { 756 if (remoteHoldtime == 0) {
......
...@@ -85,7 +85,7 @@ public class SuppressionRulesStore { ...@@ -85,7 +85,7 @@ public class SuppressionRulesStore {
85 * Returns SuppressionRules. 85 * Returns SuppressionRules.
86 * 86 *
87 * @return SuppressionRules 87 * @return SuppressionRules
88 - * @throws IOException 88 + * @throws IOException if error occurred while reading the data
89 */ 89 */
90 public SuppressionRules read() throws IOException { 90 public SuppressionRules read() throws IOException {
91 final Set<DeviceId> suppressedDevice = new HashSet<>(); 91 final Set<DeviceId> suppressedDevice = new HashSet<>();
...@@ -143,7 +143,7 @@ public class SuppressionRulesStore { ...@@ -143,7 +143,7 @@ public class SuppressionRulesStore {
143 * Writes the given SuppressionRules. 143 * Writes the given SuppressionRules.
144 * 144 *
145 * @param rules SuppressionRules 145 * @param rules SuppressionRules
146 - * @throws IOException 146 + * @throws IOException if error occurred while writing the data
147 */ 147 */
148 public void write(SuppressionRules rules) throws IOException { 148 public void write(SuppressionRules rules) throws IOException {
149 ObjectMapper mapper = new ObjectMapper(); 149 ObjectMapper mapper = new ObjectMapper();
......