[pgAdmin][patch] Fixed issues reported by SonarQube
[pgAdmin][patch] Fixed issues reported by SonarQube
Hi Hackers
Attached is the patch to fix almost 24 bugs of the following type:
- TypeError can be thrown as <variable_name> might be null or undefined here.
- TypeError can be thrown as this operand might have a primitive type.
- The conditional operation returns the same value whether the condition is "true" or "false".
Please review it.
--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246
Re: [pgAdmin][patch] Fixed issues reported by SonarQube
От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks, applied.
On Thu, Jun 18, 2020 at 2:17 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi HackersAttached is the patch to fix almost 24 bugs of the following type:
- TypeError can be thrown as <variable_name> might be null or undefined here.
- TypeError can be thrown as this operand might have a primitive type.
- The conditional operation returns the same value whether the condition is "true" or "false".
Please review it.--Thanks & RegardsAkshay JoshiSr. Software ArchitectEnterpriseDB Software India Private LimitedMobile: +91 976-788-8246
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company