Fix javadoc warnings

Change-Id: If195eb9be6264aeb0be7768eb10bd16670b6aad6
This commit is contained in:
Yuta HIGUCHI 2017-06-03 01:05:33 -07:00 committed by Yuta HIGUCHI
parent 75e9799694
commit d1ce4bc801
6 changed files with 10 additions and 7 deletions

View File

@ -29,7 +29,7 @@ import static org.onosproject.ui.model.topo.UiTopoLayoutId.layoutId;
/** /**
* Add a new UI layout. * Add a new UI layout.
* <p> *
* <pre> * <pre>
* layout-add {layout-id} {bg-ref} \ * layout-add {layout-id} {bg-ref} \
* [ {region-id} {parent-layout-id} {scale} {offset-x} {offset-y} ] * [ {region-id} {parent-layout-id} {scale} {offset-x} {offset-y} ]

View File

@ -34,7 +34,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* <p> * <p>
* Geo Coordinate type is defined in draft-ietf-lisp-lcaf-22 * Geo Coordinate type is defined in draft-ietf-lisp-lcaf-22
* https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-11 * https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-11
* <p> *
* <pre> * <pre>
* {@literal * {@literal
* 0 1 2 3 * 0 1 2 3
@ -363,6 +363,7 @@ public final class LispGeoCoordinateLcafAddress extends LispLcafAddress {
* *
* @return LispGeoCoordinateLcafAddress instance * @return LispGeoCoordinateLcafAddress instance
*/ */
@Override
public LispGeoCoordinateLcafAddress build() { public LispGeoCoordinateLcafAddress build() {
checkNotNull(address, "Must specify an AFI address"); checkNotNull(address, "Must specify an AFI address");

View File

@ -42,7 +42,7 @@ import static org.onosproject.lisp.msg.types.lcaf.LispCanonicalAddressFormatEnum
/** /**
* LISP Canonical Address Formatted address class. * LISP Canonical Address Formatted address class.
* <p> *
* <pre> * <pre>
* {@literal * {@literal
* 0 1 2 3 * 0 1 2 3

View File

@ -33,7 +33,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* <p> * <p>
* Multicast group membership type is defined in draft-ietf-lisp-lcaf-22 * Multicast group membership type is defined in draft-ietf-lisp-lcaf-22
* https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-15 * https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-15
* <p> *
* <pre> * <pre>
* {@literal * {@literal
* 0 1 2 3 * 0 1 2 3
@ -229,6 +229,7 @@ public final class LispMulticastLcafAddress extends LispLcafAddress {
* *
* @return LispMulticastLcafAddress instance * @return LispMulticastLcafAddress instance
*/ */
@Override
public LispMulticastLcafAddress build() { public LispMulticastLcafAddress build() {
checkNotNull(srcAddress, "Must specify a source address"); checkNotNull(srcAddress, "Must specify a source address");

View File

@ -33,7 +33,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* <p> * <p>
* Nonce locator data type is defined in draft-ietf-lisp-lcaf-22 * Nonce locator data type is defined in draft-ietf-lisp-lcaf-22
* https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-32 * https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-32
* <p> *
* <pre> * <pre>
* {@literal * {@literal
* 0 1 2 3 * 0 1 2 3
@ -143,6 +143,7 @@ public final class LispNonceLcafAddress extends LispLcafAddress {
* *
* @return LispNonceLcafAddress instance * @return LispNonceLcafAddress instance
*/ */
@Override
public LispNonceLcafAddress build() { public LispNonceLcafAddress build() {
checkNotNull(address, "Must specify an address"); checkNotNull(address, "Must specify an address");

View File

@ -95,7 +95,7 @@ public class RestconfWebResource extends AbstractWebResource {
* Handles the RESTCONF Event Notification Subscription request. If the * Handles the RESTCONF Event Notification Subscription request. If the
* subscription is successful, a ChunkedOutput stream is created and returned * subscription is successful, a ChunkedOutput stream is created and returned
* to the caller. * to the caller.
* <P></P> * <p>
* This function is not blocked on streaming the data (so that it can handle * This function is not blocked on streaming the data (so that it can handle
* other incoming requests). Instead, a worker thread running in the background * other incoming requests). Instead, a worker thread running in the background
* does the data streaming. If errors occur during streaming, the worker thread * does the data streaming. If errors occur during streaming, the worker thread
@ -108,7 +108,7 @@ public class RestconfWebResource extends AbstractWebResource {
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Path("streams/{streamId}") @Path("streams/{streamId}")
public ChunkedOutput<String> handleNotificationRegistration(@PathParam("streamId") String streamId) { public ChunkedOutput<String> handleNotificationRegistration(@PathParam("streamId") String streamId) {
final ChunkedOutput<String> output = new ChunkedOutput<String>(String.class); final ChunkedOutput<String> output = new ChunkedOutput<>(String.class);
try { try {
service.subscribeEventStream(streamId, output); service.subscribeEventStream(streamId, output);
} catch (RestconfException e) { } catch (RestconfException e) {