| Index: pkg/analysis_server/tool/spec/codegen_tools.dart
|
| diff --git a/pkg/analysis_server/tool/spec/codegen_tools.dart b/pkg/analysis_server/tool/spec/codegen_tools.dart
|
| index aff38861d9e0a19e2c6cb742e5585d233ea57f2f..b236cc559517006adc6887c2b7834c0b10dacc20 100644
|
| --- a/pkg/analysis_server/tool/spec/codegen_tools.dart
|
| +++ b/pkg/analysis_server/tool/spec/codegen_tools.dart
|
| @@ -115,6 +115,9 @@ class CodeGenerator {
|
| * which understands certain HTML constructs.
|
| */
|
| void docComment(List<dom.Node> docs, {int width: 79, bool javadocStyle: false}) {
|
| + if (containsOnlyWhitespace(docs)) {
|
| + return;
|
| + }
|
| writeln('/**');
|
| indentBy(' * ', () {
|
| write(nodesToText(docs, width - _state.indent.length, javadocStyle));
|
|
|