From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers(at)lists(dot)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Replace if-then-else statement by a single return sta |
Date: | 2020-06-18 10:48:17 |
Message-ID: | E1jls5h-0008Gf-RA@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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(dot)v(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2020-06-18 10:49:36 | Re: [pgAdmin4][Patch] - Issue fixes reported by SonarQube - 4 (Rule Comma operator should not be used) |
Previous Message | Satish V | 2020-06-18 09:51:01 | Re: Re-[Sonarqube]- Clumsy code |