Fixed code smell 'Default parameters should be last' reported by SonarQube.

This commit is contained in:
Akshay Joshi
2022-01-12 18:40:18 +05:30
parent c98fb887cc
commit 4e414f57e6
50 changed files with 72 additions and 72 deletions

View File

@@ -136,7 +136,7 @@ export function getRestoreTypeObjSchema(fieldOptions) {
}
export class RestoreSaveOptSchema extends BaseUISchema {
constructor(fieldOptions={}, initValues) {
constructor(fieldOptions={}, initValues={}) {
super({
id: null,
...initValues,
@@ -192,7 +192,7 @@ export function getRestoreSaveOptSchema(fieldOptions) {
}
export class RestoreQueryOptionSchema extends BaseUISchema {
constructor(fieldOptions={}, initValues) {
constructor(fieldOptions={}, initValues={}) {
super({
id: null,
...initValues,
@@ -245,7 +245,7 @@ export function getRestoreQueryOptionSchema(fieldOptions) {
}
export class RestoreDisableOptionSchema extends BaseUISchema {
constructor(fieldOptions={}, initValues) {
constructor(fieldOptions={}, initValues={}) {
super({
id: null,
...initValues,
@@ -284,7 +284,7 @@ export function getRestoreDisableOptionSchema(fieldOptions) {
}
export class RestoreMiscellaneousSchema extends BaseUISchema {
constructor(fieldOptions={}, initValues) {
constructor(fieldOptions={}, initValues={}) {
super({
id: null,
verbose: true,
@@ -465,4 +465,4 @@ export default class RestoreSchema extends BaseUISchema {
}
}
}
}
}