[jira] [Created] (FLINK-12511) make variable "comment" in all catalog metadata classes final

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12511) make variable "comment" in all catalog metadata classes final

Shang Yuanchun (Jira)
Bowen Li created FLINK-12511:
--------------------------------

             Summary: make variable "comment" in all catalog metadata classes final
                 Key: FLINK-12511
                 URL: https://issues.apache.org/jira/browse/FLINK-12511
             Project: Flink
          Issue Type: Improvement
    Affects Versions: 1.9.0
            Reporter: Bowen Li
            Assignee: Bowen Li
             Fix For: 1.9.0


Because of historical reasons, currently the variable "comment" in all catalog metadata classes are not final yet, it has a default value and can be overwritten in constructor. It creates problems like overloaded constructors are built in a wrong way.

We should remove the default value of "comment" and make it final that can only be assigned value upon construction.






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)