Обсуждение: [pgAdmin][patch] Fixed issues reported by SonarQube

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

[pgAdmin][patch] Fixed issues reported by SonarQube

От
Akshay Joshi
Дата:
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
Дата:
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