Skip to content

Commit d4ead49

Browse files
committed
improve java single-line comment
1 parent 553ee60 commit d4ead49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dcrpcgen/java/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def get_banner() -> str:
1111
def create_comment(text: str, indentation: str = "") -> str:
1212
"""Generate a Java comment"""
1313
if "\n" not in text:
14-
return f"{indentation}/* {text.strip()} */\n"
14+
return f"{indentation}/** {text.strip()} */\n"
1515

1616
comment = f"{indentation}/**\n"
1717
for line in text.split("\n"):

0 commit comments

Comments
 (0)