Обсуждение: pgAdmin 4 commit: Replace if-then-else statement by a single return sta

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

pgAdmin 4 commit: Replace if-then-else statement by a single return sta

От
Akshay Joshi
Дата:
Replace if-then-else statement by a single return statement, issue reported by SonarQube.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=905be1d8948435fde2664002b74ef12e737854ba
Author: Satish V <satish.v@enterprisedb.com>

Modified Files
--------------
.../index_constraint/static/js/primary_key.js      |  3 +--
.../static/js/unique_constraint.js                 |  3 +--
.../schemas/tables/indexes/static/js/index.js      | 24 ++++------------------
.../tables/partitions/static/js/partition.js       | 12 ++---------
.../databases/schemas/types/static/js/type.js      |  6 +-----
.../databases/schemas/views/static/js/mview.js     |  3 +--
6 files changed, 10 insertions(+), 41 deletions(-)