[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 4/4] java: doc: add the version (if available) of APIs



On Thu, May 28, 2015 at 04:47:55PM +0200, Pino Toscano wrote:
> ---
>  generator/java.ml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/generator/java.ml b/generator/java.ml
> index 573f1c2..4c89197 100644
> --- a/generator/java.ml
> +++ b/generator/java.ml
> @@ -273,6 +273,10 @@ public class GuestFS {
>          pr "   * </p><p>\n";
>          pr "   * %s\n" doc;
>          pr "   * </p>\n";
> +        (match version_added f with
> +        | None -> ()
> +        | Some version -> pr "   * @since %s\n" version
> +        );
>          (match f with
>          | { deprecated_by = None } -> ()
>          | { deprecated_by = Some alt } ->

ACK series.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]