Reg-[Sonarqube]CodeSmell issues - Mailing list pgadmin-hackers

From Satish V
Subject Reg-[Sonarqube]CodeSmell issues
Date
Msg-id CAOEjfmH3B9x438-K08kXT+7vLEfDOAq5Gszqf+SFdS34nQi+cQ@mail.gmail.com
Whole thread Raw
Responses Re: Reg-[Sonarqube]CodeSmell issues  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
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
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin4][Patch] - Issue fixes reported by SonarQube
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Fixed following issues reported by SonarQube: