summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-02 04:30:30 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-03-08 14:56:54 +0000
commit750a338725568f14eb694647a432dba9b25f54f0 (patch)
treebf970ddeb7f3ceca2825a464b8b3c2de51fd820a
parent6d403edd966315003742edc8ad4ee1d6c7326215 (diff)
downloadlibguestfs-750a338725568f14eb694647a432dba9b25f54f0.tar.gz
libguestfs-750a338725568f14eb694647a432dba9b25f54f0.tar.xz
libguestfs-750a338725568f14eb694647a432dba9b25f54f0.zip
java: Fix a minor whitespace error in generated code.
In functions that don't have javadoc, the function prototype wasn't being indented correctly. (cherry picked from commit ec62f1127ec4f8609745f9d08b62c65e0ccbd154)
-rw-r--r--generator/generator_java.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/generator_java.ml b/generator/generator_java.ml
index 5ac92f74..e2e00032 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";