java_tools: fix comments in generated headers
This commit is contained in:
parent
b97a95bc76
commit
d1ae0b3bf6
|
@ -51,7 +51,7 @@ public class BaseCHeaderConsumer implements ConfigurationConsumer {
|
||||||
private static String getComment(String comment, int currentOffset, String units) {
|
private static String getComment(String comment, int currentOffset, String units) {
|
||||||
String start = "\t/**";
|
String start = "\t/**";
|
||||||
String packedComment = packComment(comment, "\t");
|
String packedComment = packComment(comment, "\t");
|
||||||
String unitsComment = units.isEmpty() ? "" : "\t" + units + EOL;
|
String unitsComment = units.isEmpty() ? "" : "\t * units: " + units + EOL;
|
||||||
return start + EOL +
|
return start + EOL +
|
||||||
packedComment +
|
packedComment +
|
||||||
unitsComment +
|
unitsComment +
|
||||||
|
|
Loading…
Reference in New Issue