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.
* <p>
*
* <pre>
* layout-add {layout-id} {bg-ref} \
* [ {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>
* Geo Coordinate type is defined in draft-ietf-lisp-lcaf-22
* https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-11
* <p>
*
* <pre>
* {@literal
* 0 1 2 3
@ -363,6 +363,7 @@ public final class LispGeoCoordinateLcafAddress extends LispLcafAddress {
*
* @return LispGeoCoordinateLcafAddress instance
*/
@Override
public LispGeoCoordinateLcafAddress build() {
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.
* <p>
*
* <pre>
* {@literal
* 0 1 2 3

View File

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

View File

@ -33,7 +33,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
* <p>
* Nonce locator data type is defined in draft-ietf-lisp-lcaf-22
* https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-32
* <p>
*
* <pre>
* {@literal
* 0 1 2 3
@ -143,6 +143,7 @@ public final class LispNonceLcafAddress extends LispLcafAddress {
*
* @return LispNonceLcafAddress instance
*/
@Override
public LispNonceLcafAddress build() {
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
* subscription is successful, a ChunkedOutput stream is created and returned
* to the caller.
* <P></P>
* <p>
* 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
* 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)
@Path("streams/{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 {
service.subscribeEventStream(streamId, output);
} catch (RestconfException e) {