[Pkg-libvirt-commits] [libguestfs] 07/31: java: doc: add the version (if available) of APIs

Hilko Bengen bengen at moszumanska.debian.org
Sun Nov 1 17:13:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.29.46
in repository libguestfs.

commit c31c077aa53d4b894cb9abe061fb290e906ca918
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Thu May 28 16:39:48 2015 +0200

    java: doc: add the version (if available) of APIs
---
 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 } ->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list