Doxygen comment JavaDoc indentation fix for simple Java enums
diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx
index 7680148..fee3702 100644
--- a/Source/Modules/java.cxx
+++ b/Source/Modules/java.cxx
@@ -1306,10 +1306,10 @@
} else {
// Translate and write javadoc comment for the enum itself if flagged
if (doxygen && doxygenTranslator->hasDocumentation(n)) {
- String *doxygen_comments = doxygenTranslator->getDocumentation(n, 0);
+ String *doxygen_comments = doxygenTranslator->getDocumentation(n, " ");
if (comment_creation_chatter)
Printf(constants_code, "/* This was generated from enumDeclaration() */\n");
- Printf(constants_code, "/* Comment for enum %s */\n", Getattr(n, "unnamedinstance") ? "" : symname);
+ Printf(constants_code, " /* Comment for enum %s */\n", Getattr(n, "unnamedinstance") ? "" : symname);
Printf(constants_code, Char(doxygen_comments));
Printf(constants_code, "\n");
Delete(doxygen_comments);