diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-05-27 12:46:04 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-05-27 12:46:04 +0100 |
commit | 1b2c0e34b15a8f41f5036d127d60efed687b6c97 (patch) | |
tree | 4a1852cd100dcc050942f45921fcc1d37539c30c /src | |
parent | 6610af333b93d93f6f0f4b917e0caee0d35ba389 (diff) | |
download | libguestfs-1b2c0e34b15a8f41f5036d127d60efed687b6c97.tar.gz libguestfs-1b2c0e34b15a8f41f5036d127d60efed687b6c97.tar.xz libguestfs-1b2c0e34b15a8f41f5036d127d60efed687b6c97.zip |
Improve javadoc (RHBZ#501883).
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml index 9c210bc0..4e18f985 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -6492,11 +6492,16 @@ public class GuestFS { doc ^ "\n\n" ^ danger_will_robinson else doc in let doc = pod2text ~width:60 name doc in + let doc = List.map ( (* RHBZ#501883 *) + function + | "" -> "<p>" + | nonempty -> nonempty + ) doc in let doc = String.concat "\n * " doc in pr " /**\n"; pr " * %s\n" shortdesc; - pr " *\n"; + pr " * <p>\n"; pr " * %s\n" doc; pr " * @throws LibGuestFSException\n"; pr " */\n"; |