[pgAdmin][patch] Sonarqube bug fixes

2022-09-09 Thread Aditya Toshniwal
Hi Hackers, Attach patch fixes multiple sonarqube bugs. Please review. -- Thanks, Aditya Toshniwal pgAdmin Hacker | Software Architect | *edbpostgres.com* "Don't Complain about Heat, Plant a TREE" sonarube.bugs.sep22.patch Description: Binary data

Sonarqube fixes

2022-09-09 Thread Pravesh Sharma
Hi, Attached patch contains sonarqube fix for rule ternary operators should not be nested. Thanks, Pravesh -- Pravesh Sharma Software Engineer +91 9406461406 www.enterprisedb.com Power to Postgres

Re: Sonarqube fixes v2

2022-09-09 Thread Yogesh Mahajan
Hi, Please find the attached patch which fixes issue related to rule - 1.Use concise character class syntax 2.Add a "break" statement or remove this "else" clause. 3.Replace this generic exception class with a more specific one. 4.Use a regular expression literal instead of the 'RegExp' construct

Re: [pgAdmin][patch]: sonarQube bug fixes

2022-09-09 Thread Nikhil Mohite
Hi Hackers, Please ignore the previous patch, PFA updated patch. On Fri, Sep 9, 2022 at 6:17 PM Nikhil Mohite wrote: > Hi Hackers, > > Please find attached the patch to fix sonarQube issues for rule: (Python) > Unused function parameters should be removed. > > -- > *Thanks & Regards,* > *Nikhil

[pgAdmin][patch]: sonarQube bug fixes

2022-09-09 Thread Nikhil Mohite
Hi Hackers, Please find attached the patch to fix sonarQube issues for rule: (Python) Unused function parameters should be removed. -- *Thanks & Regards,* *Nikhil Mohite* *Senior Software Engineer.* *EDB Postgres* *Mob.No: +91-7798364578.* sonarQube.patch Descri

pgAdmin 4 commit: Fixed 'Remove the unnecessary boolean literals' code

2022-09-09 Thread Akshay Joshi
Fixed 'Remove the unnecessary boolean literals' code smell. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3b95a416ca8c9e3d9ee88b79ef0f0006bbb27f4f Modified Files -- .../server_groups/servers/static/js/server.js | 4 +- web/