diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-13 13:59:00 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-05 21:08:52 +0100 |
commit | ab1129e332c81ae686fd86f1b9ce5230ce632d39 (patch) | |
tree | 948aa013a7641c25bec9869d7b8825bceb63bac9 /java/examples/guestfs-java.pod | |
parent | 8b4a8f71d4b6b3289324fc3ad30a8d3ddc509efd (diff) | |
download | libguestfs-ab1129e332c81ae686fd86f1b9ce5230ce632d39.tar.gz libguestfs-ab1129e332c81ae686fd86f1b9ce5230ce632d39.tar.xz libguestfs-ab1129e332c81ae686fd86f1b9ce5230ce632d39.zip |
java: Generate overloaded non-optargs method for each optargs method.
For example the existing method:
public void mkfs_opts (String fstype, String device, Map<..> optargs);
is now accompanied by this overloaded method which is a simple wrapper:
public void mkfs_opts (String fstype, String device)
throws LibGuestFSException
{
mkfs_opts (fstype, device, null);
}
(cherry picked from commit 0da2dbef26a9efddbc1f4cd6cbe796b3b5f98d13)
Diffstat (limited to 'java/examples/guestfs-java.pod')
-rw-r--r-- | java/examples/guestfs-java.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/guestfs-java.pod b/java/examples/guestfs-java.pod index cda4ed22..482539bd 100644 --- a/java/examples/guestfs-java.pod +++ b/java/examples/guestfs-java.pod @@ -9,7 +9,7 @@ guestfs-java - How to use libguestfs from Java import com.redhat.et.libguestfs.*; GuestFS g = new GuestFS (); - g.add_drive_opts ("disk.img", null); + g.add_drive_opts ("disk.img"); g.launch (); =head1 DESCRIPTION |