You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2022/08/18 09:58:43 UTC
[flink] branch release-1.15 updated: [FLINK-28951][table-planner] Make header with one line comments
This is an automated email from the ASF dual-hosted git repository.
twalthr pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.15 by this push:
new 29ff78a898c [FLINK-28951][table-planner] Make header with one line comments
29ff78a898c is described below
commit 29ff78a898c476202c5c4d1d153e3aa3ac0b4855
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Sun Aug 14 10:28:09 2022 +0200
[FLINK-28951][table-planner] Make header with one line comments
This closes #20568.
---
.../org/apache/flink/table/planner/codegen/CodeGeneratorContext.scala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/CodeGeneratorContext.scala b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/CodeGeneratorContext.scala
index 5cabce43272..2e466863d28 100644
--- a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/CodeGeneratorContext.scala
+++ b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/CodeGeneratorContext.scala
@@ -215,9 +215,7 @@ class CodeGeneratorContext(val tableConfig: TableConfig) {
/** @return Comment to be added as a header comment on the generated class */
def getClassHeaderComment: String = {
s"""
- |/*
- | * ${reusableHeaderComments.mkString("\n * ")}
- | */
+ |// ${reusableHeaderComments.mkString("\n// ")}
""".stripMargin
}