Обсуждение: Reg-[Sonarqube]CodeSmell issues

Поиск
Список
Период
Сортировка

Reg-[Sonarqube]CodeSmell issues

От
Satish V
Дата:
Hi Hackers,

Please find the patch in the attachment which resolves below issues
1.Replace this if-then-else statement by a single return statement.(clumsy)
2."switch" statements should have at least 3 "case" clauses. (bad practise)
Kindly review and share the changes, if  required.


Thanks
Sathish V
Вложения

Re: Reg-[Sonarqube]CodeSmell issues

От
Akshay Joshi
Дата:
Thanks, patch applied.

On Tue, Jun 16, 2020 at 12:49 PM Satish V <satish.v@enterprisedb.com> wrote:
Hi Hackers,

Please find the patch in the attachment which resolves below issues
1.Replace this if-then-else statement by a single return statement.(clumsy)
2."switch" statements should have at least 3 "case" clauses. (bad practise)
Kindly review and share the changes, if  required.


Thanks
Sathish V


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246