From ab1129e332c81ae686fd86f1b9ce5230ce632d39 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 13 Jul 2012 13:59:00 +0100 Subject: 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) --- java/examples/guestfs-java.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/examples/guestfs-java.pod') 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 -- cgit