Fix javadocs and enable doclint
[controller.git] / opendaylight / md-sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / RpcConsumerRegistry.java
index 0c5e7649f865403eb2a3c9903ff30223767d6f38..d31a2fe3277694db6baf2a551ce5e3584670c399 100644 (file)
@@ -49,7 +49,7 @@ public interface RpcConsumerRegistry extends BindingAwareService, BindingService
      * to listen for Rpc Result. This will asynchronously listen for future result in executor and
      * will not block current thread.
      *
-     * <pre>
+     * {@code
      *   final Future<RpcResult<SomeRpcOutput>> future = someRpcService.someRpc( ... );
      *   Futures.addCallback(JdkFutureAdapters.listenInThreadPool(future), new FutureCallback<RpcResult<SomeRpcOutput>>() {
      *
@@ -61,7 +61,9 @@ public interface RpcConsumerRegistry extends BindingAwareService, BindingService
      *          // RPC failed
      *       }
      *   );
-     * </pre>
+     * }
+     * }
+     *
      * @param serviceInterface the interface of the RPC Service. Typically this is an interface generated
      *                         from a YANG model.
      * @return the proxy for the requested RPC service. This method never returns null.