[Libguestfs] [PATCH 3/6] java: Fix a minor whitespace error in generated code.
Richard W.M. Jones
rjones at redhat.com
Wed Mar 2 05:15:55 UTC 2011
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
>From e7d63b853fbd0b08eb7c0586b6541fe9fceb7780 Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones at redhat.com>
Date: Wed, 2 Mar 2011 04:30:30 +0000
Subject: [PATCH 3/6] java: Fix a minor whitespace error in generated code.
In functions didn't have javadoc, the function prototype wasn't being
indented correctly.
---
generator/generator_java.ml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/generator/generator_java.ml b/generator/generator_java.ml
index 5ac92f7..e2e0003 100644
--- a/generator/generator_java.ml
+++ b/generator/generator_java.ml
@@ -1,5 +1,5 @@
(* libguestfs
- * Copyright (C) 2009-2010 Red Hat Inc.
+ * Copyright (C) 2009-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -133,8 +133,8 @@ public class GuestFS {
pr " * %s\n" doc;
pr " * @throws LibGuestFSException\n";
pr " */\n";
- pr " ";
);
+ pr " ";
generate_java_prototype ~public:true ~semicolon:false name style;
pr "\n";
pr " {\n";
--
1.7.4
More information about the Libguestfs
mailing list