From ec62f1127ec4f8609745f9d08b62c65e0ccbd154 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 2 Mar 2011 04:30:30 +0000 Subject: [PATCH] java: Fix a minor whitespace error in generated code. In functions that don't have javadoc, the function prototype wasn't being indented correctly. --- generator/generator_java.ml | 4 ++-- 1 file 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.8.3.1