Re: [pgAdmin][patch] Fixed issues reported by SonarQube - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin][patch] Fixed issues reported by SonarQube
Date
Msg-id CA+OCxozE9iqjQtugAjWV7hx6E7UU4TqTDJMqPksLxQy_7w6oFA@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][patch] Fixed issues reported by SonarQube  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Thanks, applied.

On Thu, Jun 18, 2020 at 2:17 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
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


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: More code cleanup for SonarQube.
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Update message catalogs.