mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following code smells reported by SonarQube:
1) Boolean checks should not be inverted. 2) Review this redundant assignment. 3) Extract this nested ternary operation into an independent statement. 4) Unexpected empty function. 5) Immediately return this expression instead of assigning it to the temporary variable.
This commit is contained in:
@@ -29,8 +29,8 @@ class SchemaInColl extends BaseUISchema {
|
||||
this.collSchema = schemaObj;
|
||||
this.columns = columns;
|
||||
}
|
||||
getCollations() {}
|
||||
getOperatorClass() {}
|
||||
getCollations() {/*This is intentional (SonarQube)*/}
|
||||
getOperatorClass() {/*This is intentional (SonarQube)*/}
|
||||
|
||||
get baseFields() {
|
||||
return [{
|
||||
|
||||
Reference in New Issue
Block a user