From: Stas Vilchik Date: Wed, 2 Jan 2019 13:13:35 +0000 (+0100) Subject: drop unused "extra" field in rule parameters X-Git-Tag: 7.6~185 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca246420f3b33945f720986404da50863bbffb0b;p=sonarqube.git drop unused "extra" field in rule parameters --- diff --git a/server/sonar-web/src/main/js/app/types.d.ts b/server/sonar-web/src/main/js/app/types.d.ts index 9e4bcbd0e1c..7a8d8da2499 100644 --- a/server/sonar-web/src/main/js/app/types.d.ts +++ b/server/sonar-web/src/main/js/app/types.d.ts @@ -687,8 +687,6 @@ declare namespace T { export type RuleInheritance = 'NONE' | 'INHERITED' | 'OVERRIDES'; export interface RuleParameter { - // TODO is this extra really returned? - extra?: string; defaultValue?: string; htmlDesc?: string; key: string; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx index d06a8779c34..e9ffd00fa0d 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx @@ -229,7 +229,6 @@ export default class ActivationFormModal extends React.PureComponent - {param.extra &&
{param.extra}
} )) )} diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleFormModal.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleFormModal.tsx index 56714395d4c..a0d0385a8ec 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleFormModal.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleFormModal.tsx @@ -329,7 +329,6 @@ export default class CustomRuleFormModal extends React.PureComponent )}
- {param.extra &&
{param.extra}
} );