@@ -23,9 +23,8 @@ def __init__(self, field_key, value):
2323
2424
2525class PropConfig :
26- __properties = {}
27-
2826 def __init__ (self , property_file_path_list ):
27+ self .__properties = {}
2928 if not property_file_path_list :
3029 return
3130
@@ -53,19 +52,16 @@ def set_property(self, key, value):
5352 self .__properties [key ] = value
5453
5554class EnvConfig :
56- __config_file_path = None
57- __config_json = None
58- __properties = None
59-
60- __missing_vars = False
61- __file_updated = False
62- __migrated = False
63-
64- __origin_json_str = None
65-
66- __unconfigured_fields = []
67-
6855 def __init__ (self , config_file_path , properties , secrets ):
56+ self .__config_file_path = None
57+ self .__config_json = None
58+ self .__properties = None
59+ self .__missing_vars = False
60+ self .__file_updated = False
61+ self .__migrated = False
62+ self .__origin_json_str = None
63+ self .__unconfigured_fields = []
64+
6965 self .__properties = properties
7066 self .__pespk_factory = PortableESPKFactory .newInstance ()
7167
@@ -259,9 +255,6 @@ def is_empty():
259255 return self .__type == "empty"
260256
261257class CertInfo :
262- __alias = None
263- __subject = None
264- __not_after = None
265258 def __init__ (self , alias , subject , not_after ):
266259 self .__alias = alias
267260 self .__subject = subject
@@ -293,15 +286,12 @@ def expiration_in_days(self):
293286 return TimeUnit .DAYS .convert (diff , TimeUnit .MILLISECONDS )
294287
295288class CertConfig :
296- __config_file_path = None
297- __config_json = None
298- __properties = None
299- __migrated = False
300- __origin_json_str = None
301- __keystore = None
302-
303-
304289 def __init__ (self , config_file_path , properties , secrets ):
290+ self .__config_json = None
291+ self .__migrated = False
292+ self .__origin_json_str = None
293+ self .__keystore = None
294+
305295 self .__properties = properties
306296 self .__secrets = secrets
307297 self .__config_file_path = config_file_path
0 commit comments