[Libguestfs] [PATCH 4/4] java: doc: add the version (if available) of APIs
Richard W.M. Jones
rjones at redhat.com
Thu May 28 20:44:11 UTC 2015
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
More information about the Libguestfs
mailing list