From c98fb887cc586c91f18317809648a89c29741a9d Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 12 Jan 2022 17:32:20 +0530 Subject: [PATCH] =?UTF-8?q?Fixed=20code=20smell=20'Unexpected=20empty=20ar?= =?UTF-8?q?row=20function'=20reported=C2=A0by=20SonarQube.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tables/indexes/static/js/index.ui.js | 2 +- .../schemas/tables/static/js/table.ui.js | 4 +- web/pgadmin/browser/static/js/browser.js | 2 +- .../browser/static/js/utility_view.jsx | 2 +- .../static/js/SchemaView/DataGridView.jsx | 6 +- .../static/js/components/FormComponents.jsx | 6 +- .../static/js/helpers/wizard/Wizard.jsx | 4 +- .../sqleditor/history/history_collection.js | 2 +- .../js/sqleditor/history/query_history.js | 2 +- .../history/query_history_details.js | 2 +- .../tools/erd/static/js/erd_tool/ERDCore.js | 16 +-- .../js/erd_tool/dialogs/DialogWrapper.js | 2 +- .../static/js/erd_tool/dialogs/TableDialog.js | 2 +- .../js/erd_tool/ui_components/BodyWidget.jsx | 2 +- .../grant_wizard/static/js/GrantWizard.jsx | 2 +- .../static/js/ImportExportServers.jsx | 2 +- .../js/search_objects_dialog_wrapper.js | 2 +- web/pgadmin/utils/driver/psycopg2/typecast.py | 4 +- .../javascript/SchemaView/SchemaView.spec.js | 10 +- .../javascript/SchemaView/TestSchema.ui.js | 2 +- .../javascript/browser/layout_spec.js | 8 +- .../javascript/components/CodeMirror.spec.js | 10 +- .../components/FormComponents.spec.js | 2 +- .../components/SelectRefresh.spec.js | 2 +- .../javascript/erd/erd_core_spec.js | 2 +- web/regression/javascript/erd/fake_item.js | 4 +- .../erd/ui_components/body_widget_spec.js | 4 +- .../javascript/grant_wizard/wizard_spec.js | 4 +- .../javascript/history/query_history_spec.js | 2 +- .../schema_ui_files/aggregate.ui.spec.js | 24 ++-- .../schema_ui_files/backup.ui.spec.js | 16 +-- .../schema_ui_files/backupGlobal.ui.spec.js | 8 +- .../schema_ui_files/cast.ui.spec.js | 24 ++-- .../schema_ui_files/catalog.ui.spec.js | 24 ++-- .../schema_ui_files/catalog_object.ui.spec.js | 4 +- .../catalog_object_column.ui.spec.js | 14 +- .../check_constraint.ui.spec.js | 34 ++--- .../schema_ui_files/collation.ui.spec.js | 24 ++-- .../schema_ui_files/column.ui.spec.js | 34 ++--- .../compound_trigger.ui.spec.js | 24 ++-- .../schema_ui_files/database.ui.spec.js | 24 ++-- .../schema_ui_files/domain.ui.spec.js | 48 +++---- .../domain_constraint.ui.spec.js | 24 ++-- .../schema_ui_files/edbfunc.ui.spec.js | 24 ++-- .../schema_ui_files/edbvar.ui.spec.js | 24 ++-- .../schema_ui_files/event_trigger.ui.spec.js | 24 ++-- .../exclusion_constraint.ui.spec.js | 34 ++--- .../schema_ui_files/extension.ui.spec.js | 24 ++-- .../foreign_data_wrapper.ui.spec.js | 24 ++-- .../schema_ui_files/foreign_key.ui.spec.js | 34 ++--- .../schema_ui_files/foreign_server.ui.spec.js | 24 ++-- .../schema_ui_files/foreign_table.ui.spec.js | 92 ++++++------- .../fts_configuration.ui.spec.js | 24 ++-- .../schema_ui_files/fts_dictionary.ui.spec.js | 24 ++-- .../schema_ui_files/fts_parser.ui.spec.js | 24 ++-- .../schema_ui_files/fts_template.ui.spec.js | 24 ++-- .../schema_ui_files/functions.ui.spec.js | 102 +++++++------- .../schema_ui_files/grant_wizard.ui.spec.js | 2 +- .../import_export_servers.ui.spec.js | 4 +- .../schema_ui_files/index.ui.spec.js | 44 +++--- .../schema_ui_files/language.ui.spec.js | 24 ++-- .../schema_ui_files/maintenance.ui.spec.js | 8 +- .../schema_ui_files/membership.ui.spec.js | 34 ++--- .../schema_ui_files/mview.ui.spec.js | 24 ++-- .../schema_ui_files/operator.ui.spec.js | 24 ++-- .../schema_ui_files/packages.ui.spec.js | 24 ++-- .../schema_ui_files/partition.ui.spec.js | 24 ++-- .../partition.utils.ui.spec.js | 58 ++++---- .../schema_ui_files/pga_job.ui.spec.js | 26 ++-- .../schema_ui_files/pga_jobstep.ui.spec.js | 24 ++-- .../schema_ui_files/pga_schedule.ui.spec.js | 48 +++---- .../schema_ui_files/primary_key.ui.spec.js | 34 ++--- .../schema_ui_files/privilege.ui.spec.js | 34 ++--- .../schema_ui_files/publication.ui.spec.js | 24 ++-- .../schema_ui_files/resource_group.ui.spec.js | 24 ++-- .../schema_ui_files/restore.ui.spec.js | 8 +- .../schema_ui_files/role.ui.spec.js | 24 ++-- .../row_security_policy.ui.spec.js | 24 ++-- .../schema_ui_files/rule.ui.spec.js | 24 ++-- .../schema_ui_files/schema.ui.spec.js | 24 ++-- .../schema_ui_files/sequence.ui.spec.js | 24 ++-- .../schema_ui_files/server.ui.spec.js | 24 ++-- .../schema_ui_files/server_group.ui.spec.js | 24 ++-- .../schema_ui_files/subscription.ui.spec.js | 24 ++-- .../schema_ui_files/synonym.ui.spec.js | 24 ++-- .../schema_ui_files/table.ui.spec.js | 24 ++-- .../schema_ui_files/tablespace.ui.spec.js | 24 ++-- .../schema_ui_files/trigger.ui.spec.js | 82 ++++++------ .../trigger_function.ui.spec.js | 24 ++-- .../schema_ui_files/type.ui.spec.js | 126 +++++++++--------- .../unique_constraint.ui.spec.js | 34 ++--- .../schema_ui_files/user_mapping.ui.spec.js | 24 ++-- .../schema_ui_files/variable.ui.spec.js | 34 ++--- .../schema_ui_files/view.ui.spec.js | 24 ++-- 94 files changed, 1023 insertions(+), 1023 deletions(-) diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.ui.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.ui.js index de9cd3c6e..86df6cb75 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.ui.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.ui.js @@ -312,7 +312,7 @@ export default class IndexSchema extends BaseUISchema { ); }); } else { - return Promise.resolve(()=>{}); + return Promise.resolve(()=>{/*This is intentional (SonarQube)*/}); } }, }, diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.ui.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.ui.js index a075a7194..db3c6bcbc 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.ui.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.ui.js @@ -284,7 +284,7 @@ export class LikeSchema extends BaseUISchema { } export default class TableSchema extends BaseUISchema { - constructor(fieldOptions={}, nodeInfo, schemas={}, getPrivilegeRoleSchema=()=>{}, getColumns=()=>[], + constructor(fieldOptions={}, nodeInfo, schemas={}, getPrivilegeRoleSchema=()=>{/*This is intentional (SonarQube)*/}, getColumns=()=>[], getCollations=()=>[], getOperatorClass=()=>[], getAttachTables=()=>[], initValues={}, inErd=false) { super({ name: undefined, @@ -750,7 +750,7 @@ export default class TableSchema extends BaseUISchema { setColumns(resolve); }); } else { - return Promise.resolve(()=>{}); + return Promise.resolve(()=>{/*This is intentional (SonarQube)*/}); } }, }, diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index e6eea6103..dcc11c098 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -691,7 +691,7 @@ define('pgadmin.browser', [ }); }, - set_master_password: function(password='', button_click=false, set_callback=()=>{}) { + set_master_password: function(password='', button_click=false, set_callback=()=>{/*This is intentional (SonarQube)*/}) { let data=null, self = this; data = JSON.stringify({ diff --git a/web/pgadmin/browser/static/js/utility_view.jsx b/web/pgadmin/browser/static/js/utility_view.jsx index 70533a068..c4265beaf 100644 --- a/web/pgadmin/browser/static/js/utility_view.jsx +++ b/web/pgadmin/browser/static/js/utility_view.jsx @@ -87,7 +87,7 @@ export function getUtilityView(schema, treeNodeInfo, actionType, formType, conta onSave={onSaveClick} onClose={()=>containerPanel.close()} onHelp={onHelp} - onDataChange={()=>{}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={confirmOnReset} hasSQL={false} disableSqlHelp={sqlHelpUrl == undefined || sqlHelpUrl == ''} diff --git a/web/pgadmin/static/js/SchemaView/DataGridView.jsx b/web/pgadmin/static/js/SchemaView/DataGridView.jsx index 77059d07d..8ecfc1f7b 100644 --- a/web/pgadmin/static/js/SchemaView/DataGridView.jsx +++ b/web/pgadmin/static/js/SchemaView/DataGridView.jsx @@ -258,7 +258,7 @@ export default function DataGridView({ let colInfo = { Header: <> , id: 'btn-edit', - accessor: ()=>{}, + accessor: ()=>{/*This is intentional (SonarQube)*/}, disableResizing: true, sortable: false, dataType: 'edit', @@ -287,7 +287,7 @@ export default function DataGridView({ let colInfo = { Header: <> , id: 'btn-delete', - accessor: ()=>{}, + accessor: ()=>{/*This is intentional (SonarQube)*/}, disableResizing: true, sortable: false, dataType: 'delete', @@ -311,7 +311,7 @@ export default function DataGridView({ value: row.index, }); - }, ()=>{}, props.customDeleteTitle, props.customDeleteMsg); + }, ()=>{/*This is intentional (SonarQube)*/}, props.customDeleteTitle, props.customDeleteMsg); }} className={classes.gridRowButton} disabled={!canDeleteRow} /> ); } diff --git a/web/pgadmin/static/js/components/FormComponents.jsx b/web/pgadmin/static/js/components/FormComponents.jsx index c56691e08..90e47dcc6 100644 --- a/web/pgadmin/static/js/components/FormComponents.jsx +++ b/web/pgadmin/static/js/components/FormComponents.jsx @@ -439,7 +439,7 @@ export function InputSwitch({cid, helpid, value, onChange, readonly, controlProp {} : onChange + readonly ? ()=>{/*This is intentional (SonarQube)*/} : onChange } id={cid} inputProps={{ @@ -486,7 +486,7 @@ export function InputCheckbox({cid, helpid, value, onChange, controlProps, reado {} : onChange} + onChange={readonly ? ()=>{/*This is intentional (SonarQube)*/} : onChange} color="primary" inputProps={{'aria-describedby': helpid}} {...props}/> @@ -1078,7 +1078,7 @@ FormFooterMessage.propTypes = { message: PropTypes.string, }; -export function NotifierMessage({type=MESSAGE_TYPE.SUCCESS, message, closable=true, onClose=()=>{}}) { +export function NotifierMessage({type=MESSAGE_TYPE.SUCCESS, message, closable=true, onClose=()=>{/*This is intentional (SonarQube)*/}}) { const classes = useStylesFormFooter(); return ( diff --git a/web/pgadmin/static/js/helpers/wizard/Wizard.jsx b/web/pgadmin/static/js/helpers/wizard/Wizard.jsx index e2dcf4e84..904041353 100644 --- a/web/pgadmin/static/js/helpers/wizard/Wizard.jsx +++ b/web/pgadmin/static/js/helpers/wizard/Wizard.jsx @@ -140,7 +140,7 @@ function Wizard({ stepList, onStepChange, onSave, className, ...props }) { if(props.beforeNext) { props.beforeNext(activeStep).then(()=>{ setActiveStep((prevActiveStep) => prevActiveStep + 1); - }).catch(()=>{}); + }).catch(()=>{/*This is intentional (SonarQube)*/}); } else { setActiveStep((prevActiveStep) => prevActiveStep + 1); } @@ -151,7 +151,7 @@ function Wizard({ stepList, onStepChange, onSave, className, ...props }) { if(props.beforeBack) { props.beforeBack(activeStep).then(()=>{ setActiveStep((prevActiveStep) => prevActiveStep - 1 < 0 ? prevActiveStep : prevActiveStep - 1); - }).catch(()=>{}); + }).catch(()=>{/*This is intentional (SonarQube)*/}); } else { setActiveStep((prevActiveStep) => prevActiveStep - 1 < 0 ? prevActiveStep : prevActiveStep - 1); } diff --git a/web/pgadmin/static/js/sqleditor/history/history_collection.js b/web/pgadmin/static/js/sqleditor/history/history_collection.js index eb636f4d6..647d1d829 100644 --- a/web/pgadmin/static/js/sqleditor/history/history_collection.js +++ b/web/pgadmin/static/js/sqleditor/history/history_collection.js @@ -11,7 +11,7 @@ export default class HistoryCollection { constructor(history_model) { this.historyList = _.sortBy(history_model, o=>o.start_time); - this.onAdd(() => {}); + this.onAdd(() => {/*This is intentional (SonarQube)*/}); } length() { diff --git a/web/pgadmin/static/js/sqleditor/history/query_history.js b/web/pgadmin/static/js/sqleditor/history/query_history.js index 76a7aca9b..e8e4e4d45 100644 --- a/web/pgadmin/static/js/sqleditor/history/query_history.js +++ b/web/pgadmin/static/js/sqleditor/history/query_history.js @@ -10,7 +10,7 @@ export default class QueryHistory { this.histCollection = histModel; this.editorPref = {}; - this.onCopyToEditorHandler = ()=>{}; + this.onCopyToEditorHandler = ()=>{/*This is intentional (SonarQube)*/}; this.histCollection.onAdd(this.onAddEntry.bind(this)); this.histCollection.onReset(this.onResetEntries.bind(this)); } diff --git a/web/pgadmin/static/js/sqleditor/history/query_history_details.js b/web/pgadmin/static/js/sqleditor/history/query_history_details.js index d5bfac86a..e77b71097 100644 --- a/web/pgadmin/static/js/sqleditor/history/query_history_details.js +++ b/web/pgadmin/static/js/sqleditor/history/query_history_details.js @@ -11,7 +11,7 @@ export default class QueryHistoryDetails { this.timeout = null; this.isRendered = false; this.sqlFontSize = null; - this.onCopyToEditorHandler = ()=>{}; + this.onCopyToEditorHandler = ()=>{/*This is intentional (SonarQube)*/}; this.editorPref = { 'sql_font_size': '1em', diff --git a/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js b/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js index d64b6820b..f193f5354 100644 --- a/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js +++ b/web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js @@ -54,7 +54,7 @@ export default class ERDCore { this.registerKeyAction(new ZoomCanvasAction({inverseZoom: true})); } - initializeModel(data, callback=()=>{}) { + initializeModel(data, callback=()=>{/*This is intentional (SonarQube)*/}) { let model = new ERDModel(); if(data) { model.deserializeModel(data, this.engine); @@ -306,7 +306,7 @@ export default class ERDCore { } addOneToManyLink(onetomanyData) { - let newFk = new ForeignKeySchema({}, {}, ()=>{}, {autoindex: false}); + let newFk = new ForeignKeySchema({}, {}, ()=>{/*This is intentional (SonarQube)*/}, {autoindex: false}); let tableNodesDict = this.getModel().getNodesDict(); let fkColumn = {}; let sourceNode = tableNodesDict[onetomanyData.referenced_table_uid]; @@ -361,10 +361,10 @@ export default class ERDCore { let rightNode = nodes[manytomanyData.right_table_uid]; let tableObj = new TableSchema({}, {}, { - constraints:()=>{}, - columns:()=>new ColumnSchema(()=>{}, {}, {}, {}), - vacuum_settings:()=>{}, - }, ()=>{}, ()=>{}, ()=>{}, ()=>{}); + constraints:()=>{/*This is intentional (SonarQube)*/}, + columns:()=>new ColumnSchema(()=>{/*This is intentional (SonarQube)*/}, {}, {}, {}), + vacuum_settings:()=>{/*This is intentional (SonarQube)*/}, + }, ()=>{/*This is intentional (SonarQube)*/}, ()=>{/*This is intentional (SonarQube)*/}, ()=>{/*This is intentional (SonarQube)*/}, ()=>{/*This is intentional (SonarQube)*/}); let tableData = tableObj.getNewData({ name: `${leftNode.getData().name}_${rightNode.getData().name}`, @@ -558,8 +558,8 @@ export default class ERDCore { event: { ...event, key: '', - preventDefault: () => {}, - stopPropagation: () => {}, + preventDefault: () => {/*This is intentional (SonarQube)*/}, + stopPropagation: () => {/*This is intentional (SonarQube)*/}, }, }); } diff --git a/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/DialogWrapper.js b/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/DialogWrapper.js index 4ac5ec478..4fe960f45 100644 --- a/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/DialogWrapper.js +++ b/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/DialogWrapper.js @@ -91,7 +91,7 @@ export default class DialogWrapper { }} onSave={this.onSaveClick.bind(this)} onClose={()=>self.close()} - onDataChange={()=>{}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} hasSQL={false} disableSqlHelp={true} disableDialogHelp={true} diff --git a/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/TableDialog.js b/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/TableDialog.js index a1350c525..4dcc68e6b 100644 --- a/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/TableDialog.js +++ b/web/pgadmin/tools/erd/static/js/erd_tool/dialogs/TableDialog.js @@ -39,7 +39,7 @@ export default class TableDialog { let treeNodeInfo = undefined; let columnSchema = new ColumnSchema( - ()=>{}, + ()=>{/*This is intentional (SonarQube)*/}, treeNodeInfo, ()=>colTypes, ()=>[], diff --git a/web/pgadmin/tools/erd/static/js/erd_tool/ui_components/BodyWidget.jsx b/web/pgadmin/tools/erd/static/js/erd_tool/ui_components/BodyWidget.jsx index ea6c56502..7732a6687 100644 --- a/web/pgadmin/tools/erd/static/js/erd_tool/ui_components/BodyWidget.jsx +++ b/web/pgadmin/tools/erd/static/js/erd_tool/ui_components/BodyWidget.jsx @@ -433,7 +433,7 @@ export default class BodyWidget extends React.Component { }); this.diagram.repaint(); }, - () => {} + () => {/*This is intentional (SonarQube)*/} ); } diff --git a/web/pgadmin/tools/grant_wizard/static/js/GrantWizard.jsx b/web/pgadmin/tools/grant_wizard/static/js/GrantWizard.jsx index ed6f05d67..05a66bf81 100644 --- a/web/pgadmin/tools/grant_wizard/static/js/GrantWizard.jsx +++ b/web/pgadmin/tools/grant_wizard/static/js/GrantWizard.jsx @@ -345,7 +345,7 @@ export default function GrantWizard({ sid, did, nodeInfo, nodeData }) { {privSchemaInstance && { }} + getInitData={() => {/*This is intentional (SonarQube)*/}} viewHelperProps={{ mode: 'create' }} schema={privSchemaInstance} showFooter={false} diff --git a/web/pgadmin/tools/import_export_servers/static/js/ImportExportServers.jsx b/web/pgadmin/tools/import_export_servers/static/js/ImportExportServers.jsx index bc58071f2..4a4bd369e 100644 --- a/web/pgadmin/tools/import_export_servers/static/js/ImportExportServers.jsx +++ b/web/pgadmin/tools/import_export_servers/static/js/ImportExportServers.jsx @@ -222,7 +222,7 @@ export default function ImportExportServers() { { }} + getInitData={() => {/*This is intentional (SonarQube)*/}} viewHelperProps={{ mode: 'create' }} schema={new ImportExportSelectionSchema()} showFooter={false} diff --git a/web/pgadmin/tools/search_objects/static/js/search_objects_dialog_wrapper.js b/web/pgadmin/tools/search_objects/static/js/search_objects_dialog_wrapper.js index e968bad42..85b003d8f 100644 --- a/web/pgadmin/tools/search_objects/static/js/search_objects_dialog_wrapper.js +++ b/web/pgadmin/tools/search_objects/static/js/search_objects_dialog_wrapper.js @@ -28,7 +28,7 @@ export default class SearchObjectsDialogWrapper extends DialogWrapper { this.gridContainer = null; } - showMessage(text, is_error, call_after_show=()=>{}) { + showMessage(text, is_error, call_after_show=()=>{/*This is intentional (SonarQube)*/}) { if(text == '' || text == null) { this.statusBar.classList.add('d-none'); } else { diff --git a/web/pgadmin/utils/driver/psycopg2/typecast.py b/web/pgadmin/utils/driver/psycopg2/typecast.py index 2a15fb443..4fc8a5f4c 100644 --- a/web/pgadmin/utils/driver/psycopg2/typecast.py +++ b/web/pgadmin/utils/driver/psycopg2/typecast.py @@ -76,9 +76,9 @@ RECORD_ARRAY = (2287,) # # For below two sql psycopg2 returns result in different formats. # SELECT '{foo,bar}'::text[]; -# print('type of {} ==> {}'.format(res[0], type(res[0]))) +# print('type of {} ==> {/*This is intentional (SonarQube)*/}'.format(res[0], type(res[0]))) # SELECT '{foo,bar}'::xml[]; -# print('type of {} ==> {}'.format(res[0], type(res[0]))) +# print('type of {} ==> {/*This is intentional (SonarQube)*/}'.format(res[0], type(res[0]))) # # Output: # type of ['foo', 'bar'] ==> diff --git a/web/regression/javascript/SchemaView/SchemaView.spec.js b/web/regression/javascript/SchemaView/SchemaView.spec.js index 0a8e21405..ae3c74dae 100644 --- a/web/regression/javascript/SchemaView/SchemaView.spec.js +++ b/web/regression/javascript/SchemaView/SchemaView.spec.js @@ -439,11 +439,11 @@ describe('SchemaView', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={true} getSQLValue={()=>'select 1;'} diff --git a/web/regression/javascript/SchemaView/TestSchema.ui.js b/web/regression/javascript/SchemaView/TestSchema.ui.js index 758bd345d..92751bdeb 100644 --- a/web/regression/javascript/SchemaView/TestSchema.ui.js +++ b/web/regression/javascript/SchemaView/TestSchema.ui.js @@ -30,7 +30,7 @@ class TestSubSchema extends BaseUISchema { cell: ()=>({cell: 'select', options: []}), mode: ['properties', 'edit', 'create'], disabled: (state)=>this.isNew(state), deps: ['field5'], - depChange: ()=>{}, optionsLoaded: ()=>{}, + depChange: ()=>{/*This is intentional (SonarQube)*/}, optionsLoaded: ()=>{/*This is intentional (SonarQube)*/}, }, { id: 'field5', label: 'Field5', type: 'multiline', group: null, diff --git a/web/regression/javascript/browser/layout_spec.js b/web/regression/javascript/browser/layout_spec.js index 2e9a65e4f..b28af8920 100644 --- a/web/regression/javascript/browser/layout_spec.js +++ b/web/regression/javascript/browser/layout_spec.js @@ -25,7 +25,7 @@ describe('layout related functions test', function() { beforeEach(function(){ pgBrowser.preferences_cache = dummy_cache; pgBrowser.docker = { - 'lockLayout': ()=>{}, + 'lockLayout': ()=>{/*This is intentional (SonarQube)*/}, }; _.extend(pgBrowser,{ @@ -33,9 +33,9 @@ describe('layout related functions test', function() { 'file': { 'mnu_locklayout': { 'menu_items': [ - {'name': 'mnu_lock_none', change_checked: ()=> {}}, - {'name': 'mnu_lock_docking', change_checked: ()=> {}}, - {'name': 'mnu_lock_full', change_checked: ()=> {}}, + {'name': 'mnu_lock_none', change_checked: ()=> {/*This is intentional (SonarQube)*/}}, + {'name': 'mnu_lock_docking', change_checked: ()=> {/*This is intentional (SonarQube)*/}}, + {'name': 'mnu_lock_full', change_checked: ()=> {/*This is intentional (SonarQube)*/}}, ], }, }, diff --git a/web/regression/javascript/components/CodeMirror.spec.js b/web/regression/javascript/components/CodeMirror.spec.js index d3a9682a7..758c6be6f 100644 --- a/web/regression/javascript/components/CodeMirror.spec.js +++ b/web/regression/javascript/components/CodeMirror.spec.js @@ -22,11 +22,11 @@ describe('CodeMirror', ()=>{ }, cmObj = jasmine.createSpyObj('cmObj', { 'getValue':()=>'', - 'setValue': ()=>{}, - 'refresh': ()=>{}, - 'setOption': ()=>{}, - 'removeKeyMap': ()=>{}, - 'addKeyMap': ()=>{}, + 'setValue': ()=>{/*This is intentional (SonarQube)*/}, + 'refresh': ()=>{/*This is intentional (SonarQube)*/}, + 'setOption': ()=>{/*This is intentional (SonarQube)*/}, + 'removeKeyMap': ()=>{/*This is intentional (SonarQube)*/}, + 'addKeyMap': ()=>{/*This is intentional (SonarQube)*/}, 'getWrapperElement': document.createElement('div'), }); beforeEach(()=>{ diff --git a/web/regression/javascript/components/FormComponents.spec.js b/web/regression/javascript/components/FormComponents.spec.js index 0e1e9d984..120fa124f 100644 --- a/web/regression/javascript/components/FormComponents.spec.js +++ b/web/regression/javascript/components/FormComponents.spec.js @@ -85,7 +85,7 @@ describe('FormComponents', ()=>{ }); it('props change', ()=>{ - let onChange = ()=>{}; + let onChange = ()=>{/*This is intentional (SonarQube)*/}; ctrl.setProps({ readonly: true, disabled: true, diff --git a/web/regression/javascript/components/SelectRefresh.spec.js b/web/regression/javascript/components/SelectRefresh.spec.js index e7d431df2..25558ca43 100644 --- a/web/regression/javascript/components/SelectRefresh.spec.js +++ b/web/regression/javascript/components/SelectRefresh.spec.js @@ -50,7 +50,7 @@ describe('components SelectRefresh', ()=>{ value={1} onChange={onChange} controlProps={{ - getOptionsOnRefresh: ()=>{} + getOptionsOnRefresh: ()=>{/*This is intentional (SonarQube)*/} }} {...props} />); diff --git a/web/regression/javascript/erd/erd_core_spec.js b/web/regression/javascript/erd/erd_core_spec.js index 61fa701e2..0f205b4d4 100644 --- a/web/regression/javascript/erd/erd_core_spec.js +++ b/web/regression/javascript/erd/erd_core_spec.js @@ -77,7 +77,7 @@ describe('ERDCore', ()=>{ }); it('registerModelEvent', ()=>{ - let fn = ()=>{}; + let fn = ()=>{/*This is intentional (SonarQube)*/}; erdCoreObj.registerModelEvent('someEvent', fn); expect(erdCoreObj.getModel().registerListener).toHaveBeenCalledWith({ 'someEvent': fn, diff --git a/web/regression/javascript/erd/fake_item.js b/web/regression/javascript/erd/fake_item.js index 2ef2bff2f..62fa306b0 100644 --- a/web/regression/javascript/erd/fake_item.js +++ b/web/regression/javascript/erd/fake_item.js @@ -39,9 +39,9 @@ export class FakeLink { setSelected() {} getID() {return this.id;} getData() {return this.data;} - getSourcePort() {return {remove: ()=>{}};} + getSourcePort() {return {remove: ()=>{/*This is intentional (SonarQube)*/}};} setSourcePort() {} - getTargetPort() {return {remove: ()=>{}};} + getTargetPort() {return {remove: ()=>{/*This is intentional (SonarQube)*/}};} setTargetPort() {} remove() {} } diff --git a/web/regression/javascript/erd/ui_components/body_widget_spec.js b/web/regression/javascript/erd/ui_components/body_widget_spec.js index 0ae39716b..0738e7f82 100644 --- a/web/regression/javascript/erd/ui_components/body_widget_spec.js +++ b/web/regression/javascript/erd/ui_components/body_widget_spec.js @@ -33,7 +33,7 @@ let pgAdmin = { ]; }, }, - onPreferencesChange: ()=>{}, + onPreferencesChange: ()=>{/*This is intentional (SonarQube)*/}, utils: { app_version_int: 1234, }, @@ -53,7 +53,7 @@ let alertify = jasmine.createSpyObj('alertify', { 'error': null, 'confirm': null, 'alert': { - 'set': ()=>{}, + 'set': ()=>{/*This is intentional (SonarQube)*/}, }, }); diff --git a/web/regression/javascript/grant_wizard/wizard_spec.js b/web/regression/javascript/grant_wizard/wizard_spec.js index 30b0a6416..8c4699640 100644 --- a/web/regression/javascript/grant_wizard/wizard_spec.js +++ b/web/regression/javascript/grant_wizard/wizard_spec.js @@ -43,8 +43,8 @@ describe('Wizard', () => { {}} - onSave={()=>{}} + onStepChange={()=> {/*This is intentional (SonarQube)*/}} + onSave={()=>{/*This is intentional (SonarQube)*/}} className={''} disableNextStep={()=>{return false;}} > diff --git a/web/regression/javascript/history/query_history_spec.js b/web/regression/javascript/history/query_history_spec.js index fdac98599..3cd2e33d5 100644 --- a/web/regression/javascript/history/query_history_spec.js +++ b/web/regression/javascript/history/query_history_spec.js @@ -69,7 +69,7 @@ describe('QueryHistory', () => { historyCollection = new HistoryCollection(historyObjects); historyComponent = new QueryHistory(historyWrapper, historyCollection); - historyComponent.onCopyToEditorClick(()=>{}); + historyComponent.onCopyToEditorClick(()=>{/*This is intentional (SonarQube)*/}); historyComponent.render(); queryEntries = historyWrapper.find('#query_list .list-item'); diff --git a/web/regression/javascript/schema_ui_files/aggregate.ui.spec.js b/web/regression/javascript/schema_ui_files/aggregate.ui.spec.js index b7fc3013f..dbc40e8a0 100644 --- a/web/regression/javascript/schema_ui_files/aggregate.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/aggregate.ui.spec.js @@ -47,11 +47,11 @@ describe('AggregateSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -67,11 +67,11 @@ describe('AggregateSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,8 +87,8 @@ describe('AggregateSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/backup.ui.spec.js b/web/regression/javascript/schema_ui_files/backup.ui.spec.js index f4d422da8..24da2e144 100644 --- a/web/regression/javascript/schema_ui_files/backup.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/backup.ui.spec.js @@ -47,10 +47,10 @@ describe('BackupSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -82,10 +82,10 @@ describe('BackupSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/backupGlobal.ui.spec.js b/web/regression/javascript/schema_ui_files/backupGlobal.ui.spec.js index 736d3eadc..19de7213e 100644 --- a/web/regression/javascript/schema_ui_files/backupGlobal.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/backupGlobal.ui.spec.js @@ -37,10 +37,10 @@ describe('BackupGlobalSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/cast.ui.spec.js b/web/regression/javascript/schema_ui_files/cast.ui.spec.js index 65fffef17..45de80f3e 100644 --- a/web/regression/javascript/schema_ui_files/cast.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/cast.ui.spec.js @@ -52,11 +52,11 @@ describe('CastSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -72,11 +72,11 @@ describe('CastSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -92,8 +92,8 @@ describe('CastSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/catalog.ui.spec.js b/web/regression/javascript/schema_ui_files/catalog.ui.spec.js index 85156276e..f172dd02f 100644 --- a/web/regression/javascript/schema_ui_files/catalog.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/catalog.ui.spec.js @@ -51,11 +51,11 @@ describe('CatalogSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -71,11 +71,11 @@ describe('CatalogSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -91,8 +91,8 @@ describe('CatalogSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/catalog_object.ui.spec.js b/web/regression/javascript/schema_ui_files/catalog_object.ui.spec.js index ba0482752..e26237fd0 100644 --- a/web/regression/javascript/schema_ui_files/catalog_object.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/catalog_object.ui.spec.js @@ -46,8 +46,8 @@ describe('CatalogObjectSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/catalog_object_column.ui.spec.js b/web/regression/javascript/schema_ui_files/catalog_object_column.ui.spec.js index 4637928be..a971a9c25 100644 --- a/web/regression/javascript/schema_ui_files/catalog_object_column.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/catalog_object_column.ui.spec.js @@ -46,11 +46,11 @@ describe('CatalogObjectColumn', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -65,8 +65,8 @@ describe('CatalogObjectColumn', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/check_constraint.ui.spec.js b/web/regression/javascript/schema_ui_files/check_constraint.ui.spec.js index d3d880f57..cda0f7949 100644 --- a/web/regression/javascript/schema_ui_files/check_constraint.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/check_constraint.ui.spec.js @@ -67,11 +67,11 @@ describe('CheckConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,11 +87,11 @@ describe('CheckConstraintSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -107,8 +107,8 @@ describe('CheckConstraintSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -120,11 +120,11 @@ describe('CheckConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/collation.ui.spec.js b/web/regression/javascript/schema_ui_files/collation.ui.spec.js index b2e03b83a..f4cea9082 100644 --- a/web/regression/javascript/schema_ui_files/collation.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/collation.ui.spec.js @@ -57,11 +57,11 @@ describe('CollationsSchema', () => { viewHelperProps={{ mode: 'create', }} - onSave={() => { }} - onClose={() => { }} - onHelp={() => { }} - onEdit={() => { }} - onDataChange={() => { }} + onSave={() => {/*This is intentional (SonarQube)*/}} + onClose={() => {/*This is intentional (SonarQube)*/}} + onHelp={() => {/*This is intentional (SonarQube)*/}} + onEdit={() => {/*This is intentional (SonarQube)*/}} + onDataChange={() => {/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -77,11 +77,11 @@ describe('CollationsSchema', () => { viewHelperProps={{ mode: 'create', }} - onSave={() => { }} - onClose={() => { }} - onHelp={() => { }} - onEdit={() => { }} - onDataChange={() => { }} + onSave={() => {/*This is intentional (SonarQube)*/}} + onClose={() => {/*This is intentional (SonarQube)*/}} + onHelp={() => {/*This is intentional (SonarQube)*/}} + onEdit={() => {/*This is intentional (SonarQube)*/}} + onDataChange={() => {/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -97,8 +97,8 @@ describe('CollationsSchema', () => { viewHelperProps={{ mode: 'properties', }} - onHelp={() => { }} - onEdit={() => { }} + onHelp={() => {/*This is intentional (SonarQube)*/}} + onEdit={() => {/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/column.ui.spec.js b/web/regression/javascript/schema_ui_files/column.ui.spec.js index 4df9c2b7c..0409b4d59 100644 --- a/web/regression/javascript/schema_ui_files/column.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/column.ui.spec.js @@ -88,11 +88,11 @@ describe('ColumnSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -108,11 +108,11 @@ describe('ColumnSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -128,8 +128,8 @@ describe('ColumnSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -141,11 +141,11 @@ describe('ColumnSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/compound_trigger.ui.spec.js b/web/regression/javascript/schema_ui_files/compound_trigger.ui.spec.js index 47ed6b94a..05994c39c 100644 --- a/web/regression/javascript/schema_ui_files/compound_trigger.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/compound_trigger.ui.spec.js @@ -55,11 +55,11 @@ describe('CompoundTriggerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -74,11 +74,11 @@ describe('CompoundTriggerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -93,8 +93,8 @@ describe('CompoundTriggerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/database.ui.spec.js b/web/regression/javascript/schema_ui_files/database.ui.spec.js index 592dd3e2d..fc9f8565c 100644 --- a/web/regression/javascript/schema_ui_files/database.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/database.ui.spec.js @@ -69,11 +69,11 @@ describe('DatabaseSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -89,11 +89,11 @@ describe('DatabaseSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -109,8 +109,8 @@ describe('DatabaseSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/domain.ui.spec.js b/web/regression/javascript/schema_ui_files/domain.ui.spec.js index 4ff3eb212..6c35e1ebe 100644 --- a/web/regression/javascript/schema_ui_files/domain.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/domain.ui.spec.js @@ -61,11 +61,11 @@ describe('DomainSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -81,11 +81,11 @@ describe('DomainSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -101,8 +101,8 @@ describe('DomainSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); @@ -156,11 +156,11 @@ describe('DomainConstSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -179,11 +179,11 @@ describe('DomainConstSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -199,8 +199,8 @@ describe('DomainConstSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/domain_constraint.ui.spec.js b/web/regression/javascript/schema_ui_files/domain_constraint.ui.spec.js index 05a17a7ff..77d3b3af4 100644 --- a/web/regression/javascript/schema_ui_files/domain_constraint.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/domain_constraint.ui.spec.js @@ -46,11 +46,11 @@ describe('DomainConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -66,11 +66,11 @@ describe('DomainConstraintSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -86,8 +86,8 @@ describe('DomainConstraintSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/edbfunc.ui.spec.js b/web/regression/javascript/schema_ui_files/edbfunc.ui.spec.js index c3a7223c6..faef8127c 100644 --- a/web/regression/javascript/schema_ui_files/edbfunc.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/edbfunc.ui.spec.js @@ -51,11 +51,11 @@ describe('EDBFuncSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -71,11 +71,11 @@ describe('EDBFuncSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -91,8 +91,8 @@ describe('EDBFuncSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/edbvar.ui.spec.js b/web/regression/javascript/schema_ui_files/edbvar.ui.spec.js index 93b434099..bfd0465f7 100644 --- a/web/regression/javascript/schema_ui_files/edbvar.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/edbvar.ui.spec.js @@ -47,11 +47,11 @@ describe('EDBVarSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -67,11 +67,11 @@ describe('EDBVarSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,8 +87,8 @@ describe('EDBVarSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/event_trigger.ui.spec.js b/web/regression/javascript/schema_ui_files/event_trigger.ui.spec.js index 49b083389..7c1a3a5f4 100644 --- a/web/regression/javascript/schema_ui_files/event_trigger.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/event_trigger.ui.spec.js @@ -55,11 +55,11 @@ describe('EventTriggerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -75,11 +75,11 @@ describe('EventTriggerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -95,8 +95,8 @@ describe('EventTriggerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js b/web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js index 9e1441c51..103ad74eb 100644 --- a/web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js @@ -75,11 +75,11 @@ describe('ExclusionConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -95,11 +95,11 @@ describe('ExclusionConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -115,8 +115,8 @@ describe('ExclusionConstraintSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -128,11 +128,11 @@ describe('ExclusionConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/extension.ui.spec.js b/web/regression/javascript/schema_ui_files/extension.ui.spec.js index 9b0d8eba1..298856745 100644 --- a/web/regression/javascript/schema_ui_files/extension.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/extension.ui.spec.js @@ -52,11 +52,11 @@ describe('ExtensionSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -72,11 +72,11 @@ describe('ExtensionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -92,8 +92,8 @@ describe('ExtensionSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/foreign_data_wrapper.ui.spec.js b/web/regression/javascript/schema_ui_files/foreign_data_wrapper.ui.spec.js index bddb42f83..694704d07 100644 --- a/web/regression/javascript/schema_ui_files/foreign_data_wrapper.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/foreign_data_wrapper.ui.spec.js @@ -63,11 +63,11 @@ describe('ForeignDataWrapperSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -83,11 +83,11 @@ describe('ForeignDataWrapperSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -103,8 +103,8 @@ describe('ForeignDataWrapperSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/foreign_key.ui.spec.js b/web/regression/javascript/schema_ui_files/foreign_key.ui.spec.js index aa0f6df4f..403b75163 100644 --- a/web/regression/javascript/schema_ui_files/foreign_key.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/foreign_key.ui.spec.js @@ -74,11 +74,11 @@ describe('ForeignKeySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -94,11 +94,11 @@ describe('ForeignKeySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -114,8 +114,8 @@ describe('ForeignKeySchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -127,11 +127,11 @@ describe('ForeignKeySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/foreign_server.ui.spec.js b/web/regression/javascript/schema_ui_files/foreign_server.ui.spec.js index 2d82e17ea..ec4a128b2 100644 --- a/web/regression/javascript/schema_ui_files/foreign_server.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/foreign_server.ui.spec.js @@ -61,11 +61,11 @@ describe('ForeignServerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -81,11 +81,11 @@ describe('ForeignServerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -101,8 +101,8 @@ describe('ForeignServerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/foreign_table.ui.spec.js b/web/regression/javascript/schema_ui_files/foreign_table.ui.spec.js index 7ab5fe391..205bfbdf6 100644 --- a/web/regression/javascript/schema_ui_files/foreign_table.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/foreign_table.ui.spec.js @@ -70,11 +70,11 @@ describe('ForeignTableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -89,11 +89,11 @@ describe('ForeignTableSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -108,8 +108,8 @@ describe('ForeignTableSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -272,11 +272,11 @@ describe('ForeignTableColumnSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -291,8 +291,8 @@ describe('ForeignTableColumnSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -304,11 +304,11 @@ describe('ForeignTableColumnSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -358,11 +358,11 @@ describe('ForeignTableColumnSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -406,11 +406,11 @@ describe('ForeignTableColumnSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -450,11 +450,11 @@ describe('ForeignTableCheckConstraint', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -469,8 +469,8 @@ describe('ForeignTableCheckConstraint', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -482,11 +482,11 @@ describe('ForeignTableCheckConstraint', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/fts_configuration.ui.spec.js b/web/regression/javascript/schema_ui_files/fts_configuration.ui.spec.js index 5f9adff51..c66c83bc7 100644 --- a/web/regression/javascript/schema_ui_files/fts_configuration.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/fts_configuration.ui.spec.js @@ -59,11 +59,11 @@ describe('FTSConfigurationSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -79,11 +79,11 @@ describe('FTSConfigurationSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -99,8 +99,8 @@ describe('FTSConfigurationSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/fts_dictionary.ui.spec.js b/web/regression/javascript/schema_ui_files/fts_dictionary.ui.spec.js index ae9be4999..a49b05c4e 100644 --- a/web/regression/javascript/schema_ui_files/fts_dictionary.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/fts_dictionary.ui.spec.js @@ -57,11 +57,11 @@ describe('FTSDictionarySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -77,11 +77,11 @@ describe('FTSDictionarySchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -97,8 +97,8 @@ describe('FTSDictionarySchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/fts_parser.ui.spec.js b/web/regression/javascript/schema_ui_files/fts_parser.ui.spec.js index c794452aa..91e201ccb 100644 --- a/web/regression/javascript/schema_ui_files/fts_parser.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/fts_parser.ui.spec.js @@ -59,11 +59,11 @@ describe('FTSParserSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -79,11 +79,11 @@ describe('FTSParserSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -99,8 +99,8 @@ describe('FTSParserSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/fts_template.ui.spec.js b/web/regression/javascript/schema_ui_files/fts_template.ui.spec.js index 2c0ab915b..43976cb61 100644 --- a/web/regression/javascript/schema_ui_files/fts_template.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/fts_template.ui.spec.js @@ -56,11 +56,11 @@ describe('FTSTemplateSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -76,11 +76,11 @@ describe('FTSTemplateSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -96,8 +96,8 @@ describe('FTSTemplateSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/functions.ui.spec.js b/web/regression/javascript/schema_ui_files/functions.ui.spec.js index 838f0fc19..89869883d 100644 --- a/web/regression/javascript/schema_ui_files/functions.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/functions.ui.spec.js @@ -138,11 +138,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -156,11 +156,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -175,11 +175,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -194,14 +194,14 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); - + it('proiswindow visible', ()=>{ - + let editSchemaObj = new FunctionSchema( () => new MockSchema(), () => new MockSchema(), @@ -254,11 +254,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -268,7 +268,7 @@ describe('FunctionSchema', ()=>{ it('proiswindow visible', ()=>{ - + let editSchemaObj = new FunctionSchema( () => new MockSchema(), () => new MockSchema(), @@ -321,21 +321,21 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} />); }); - + it('proiswindow visible', ()=>{ - + let editSchemaObj = new FunctionSchema( () => new MockSchema(), () => new MockSchema(), @@ -387,11 +387,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -400,7 +400,7 @@ describe('FunctionSchema', ()=>{ it('proiswindow visible', ()=>{ - + let editSchemaObj = new FunctionSchema( () => new MockSchema(), () => new MockSchema(), @@ -452,11 +452,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -466,7 +466,7 @@ describe('FunctionSchema', ()=>{ it('proparallel disabled', ()=>{ - + let editSchemaObj = new FunctionSchema( () => new MockSchema(), () => new MockSchema(), @@ -521,11 +521,11 @@ describe('FunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -566,7 +566,7 @@ describe('FunctionSchema', ()=>{ }); it('probin validate', () => { - let state = { lanname: 'c', prorettypename: 'char' }; + let state = { lanname: 'c', prorettypename: 'char' }; let setError = jasmine.createSpy('setError'); schemaObj.validate(state, setError); @@ -574,7 +574,7 @@ describe('FunctionSchema', ()=>{ }); it('probin validate', () => { - let state = { lanname: 'c', probin: 'test1', prorettypename: 'char'}; + let state = { lanname: 'c', probin: 'test1', prorettypename: 'char'}; let setError = jasmine.createSpy('setError'); schemaObj.validate(state, setError); diff --git a/web/regression/javascript/schema_ui_files/grant_wizard.ui.spec.js b/web/regression/javascript/schema_ui_files/grant_wizard.ui.spec.js index 760d47856..aab0401d7 100644 --- a/web/regression/javascript/schema_ui_files/grant_wizard.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/grant_wizard.ui.spec.js @@ -55,7 +55,7 @@ describe('GrantWizard', () => { viewHelperProps={{ mode: 'create', }} - onDataChange={() => { }} + onDataChange={() => {/*This is intentional (SonarQube)*/}} showFooter={false} isTabView={false} />); diff --git a/web/regression/javascript/schema_ui_files/import_export_servers.ui.spec.js b/web/regression/javascript/schema_ui_files/import_export_servers.ui.spec.js index 7840a830c..dd8ca3d67 100644 --- a/web/regression/javascript/schema_ui_files/import_export_servers.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/import_export_servers.ui.spec.js @@ -45,7 +45,7 @@ describe('ImportExportServers', () => { viewHelperProps={{ mode: 'create', }} - onDataChange={() => { }} + onDataChange={() => {/*This is intentional (SonarQube)*/}} showFooter={false} isTabView={false} />); @@ -60,7 +60,7 @@ describe('ImportExportServers', () => { viewHelperProps={{ mode: 'create', }} - onDataChange={() => { }} + onDataChange={() => {/*This is intentional (SonarQube)*/}} showFooter={false} isTabView={false} />); diff --git a/web/regression/javascript/schema_ui_files/index.ui.spec.js b/web/regression/javascript/schema_ui_files/index.ui.spec.js index 28c0db1a8..6253d8619 100644 --- a/web/regression/javascript/schema_ui_files/index.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/index.ui.spec.js @@ -36,11 +36,11 @@ describe('IndexSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -53,12 +53,12 @@ describe('IndexSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -182,11 +182,11 @@ describe('IndexSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -202,11 +202,11 @@ describe('IndexSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -222,8 +222,8 @@ describe('IndexSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/language.ui.spec.js b/web/regression/javascript/schema_ui_files/language.ui.spec.js index 3c925cad8..d3a3b04bf 100644 --- a/web/regression/javascript/schema_ui_files/language.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/language.ui.spec.js @@ -67,11 +67,11 @@ describe('LanguageSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,11 +87,11 @@ describe('LanguageSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -107,8 +107,8 @@ describe('LanguageSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/maintenance.ui.spec.js b/web/regression/javascript/schema_ui_files/maintenance.ui.spec.js index 0ef15cd9e..856a80337 100644 --- a/web/regression/javascript/schema_ui_files/maintenance.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/maintenance.ui.spec.js @@ -37,10 +37,10 @@ describe('MaintenanceSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/membership.ui.spec.js b/web/regression/javascript/schema_ui_files/membership.ui.spec.js index ed731952d..8848eaf61 100644 --- a/web/regression/javascript/schema_ui_files/membership.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/membership.ui.spec.js @@ -66,11 +66,11 @@ describe('MembershipSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -86,11 +86,11 @@ describe('MembershipSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -106,8 +106,8 @@ describe('MembershipSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -119,11 +119,11 @@ describe('MembershipSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/mview.ui.spec.js b/web/regression/javascript/schema_ui_files/mview.ui.spec.js index bd4ac3129..b98ece7a8 100644 --- a/web/regression/javascript/schema_ui_files/mview.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/mview.ui.spec.js @@ -66,11 +66,11 @@ describe('MaterializedViewSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -86,11 +86,11 @@ describe('MaterializedViewSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -106,8 +106,8 @@ describe('MaterializedViewSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/operator.ui.spec.js b/web/regression/javascript/schema_ui_files/operator.ui.spec.js index 8de3833dc..53e6e4af0 100644 --- a/web/regression/javascript/schema_ui_files/operator.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/operator.ui.spec.js @@ -47,11 +47,11 @@ describe('OperatorSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -67,11 +67,11 @@ describe('OperatorSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,8 +87,8 @@ describe('OperatorSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/packages.ui.spec.js b/web/regression/javascript/schema_ui_files/packages.ui.spec.js index 76c5db81b..a2b04140f 100644 --- a/web/regression/javascript/schema_ui_files/packages.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/packages.ui.spec.js @@ -54,11 +54,11 @@ describe('PackageSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -74,11 +74,11 @@ describe('PackageSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -94,8 +94,8 @@ describe('PackageSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/partition.ui.spec.js b/web/regression/javascript/schema_ui_files/partition.ui.spec.js index 26e9dacad..7d1c38d0c 100644 --- a/web/regression/javascript/schema_ui_files/partition.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/partition.ui.spec.js @@ -67,11 +67,11 @@ describe('PartitionTableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -87,11 +87,11 @@ describe('PartitionTableSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -107,8 +107,8 @@ describe('PartitionTableSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/partition.utils.ui.spec.js b/web/regression/javascript/schema_ui_files/partition.utils.ui.spec.js index a061e89d8..bfdebf56b 100644 --- a/web/regression/javascript/schema_ui_files/partition.utils.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/partition.utils.ui.spec.js @@ -77,11 +77,11 @@ describe('PartitionKeysSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -101,11 +101,11 @@ describe('PartitionKeysSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -121,8 +121,8 @@ describe('PartitionKeysSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -188,11 +188,11 @@ describe('PartitionsSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -208,11 +208,11 @@ describe('PartitionsSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -228,8 +228,8 @@ describe('PartitionsSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -243,11 +243,11 @@ describe('PartitionsSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/pga_job.ui.spec.js b/web/regression/javascript/schema_ui_files/pga_job.ui.spec.js index bc157aeed..5e2f28775 100644 --- a/web/regression/javascript/schema_ui_files/pga_job.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/pga_job.ui.spec.js @@ -27,7 +27,7 @@ describe('PgaJobSchema', ()=>{ let mount; let schemaObj = new PgaJobSchema( { - jobjclid:()=>[], + jobjclid:()=>[], }, ()=>new MockSchema(), ); @@ -58,11 +58,11 @@ describe('PgaJobSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -77,11 +77,11 @@ describe('PgaJobSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -96,8 +96,8 @@ describe('PgaJobSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/pga_jobstep.ui.spec.js b/web/regression/javascript/schema_ui_files/pga_jobstep.ui.spec.js index 31797dc4a..64a7a9a31 100644 --- a/web/regression/javascript/schema_ui_files/pga_jobstep.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/pga_jobstep.ui.spec.js @@ -54,11 +54,11 @@ describe('PgaJobStepSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -73,11 +73,11 @@ describe('PgaJobStepSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -92,8 +92,8 @@ describe('PgaJobStepSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/pga_schedule.ui.spec.js b/web/regression/javascript/schema_ui_files/pga_schedule.ui.spec.js index 5044acb0d..9d42c3d1a 100644 --- a/web/regression/javascript/schema_ui_files/pga_schedule.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/pga_schedule.ui.spec.js @@ -50,11 +50,11 @@ describe('PgaJobScheduleSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -69,11 +69,11 @@ describe('PgaJobScheduleSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -88,8 +88,8 @@ describe('PgaJobScheduleSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -145,11 +145,11 @@ describe('ExceptionsSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -164,11 +164,11 @@ describe('ExceptionsSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -183,8 +183,8 @@ describe('ExceptionsSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/primary_key.ui.spec.js b/web/regression/javascript/schema_ui_files/primary_key.ui.spec.js index db60b6038..eaa6e110a 100644 --- a/web/regression/javascript/schema_ui_files/primary_key.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/primary_key.ui.spec.js @@ -73,11 +73,11 @@ describe('PrimaryKeySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -93,11 +93,11 @@ describe('PrimaryKeySchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -113,8 +113,8 @@ describe('PrimaryKeySchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -126,11 +126,11 @@ describe('PrimaryKeySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/privilege.ui.spec.js b/web/regression/javascript/schema_ui_files/privilege.ui.spec.js index 389e24cd7..cf993f583 100644 --- a/web/regression/javascript/schema_ui_files/privilege.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/privilege.ui.spec.js @@ -55,11 +55,11 @@ describe('PrivilegeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -75,11 +75,11 @@ describe('PrivilegeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -95,8 +95,8 @@ describe('PrivilegeSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -117,11 +117,11 @@ describe('PrivilegeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/publication.ui.spec.js b/web/regression/javascript/schema_ui_files/publication.ui.spec.js index 4d87e0563..965701e75 100644 --- a/web/regression/javascript/schema_ui_files/publication.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/publication.ui.spec.js @@ -62,11 +62,11 @@ describe('PublicationSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -82,11 +82,11 @@ describe('PublicationSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -102,8 +102,8 @@ describe('PublicationSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/resource_group.ui.spec.js b/web/regression/javascript/schema_ui_files/resource_group.ui.spec.js index 36d8d07d4..4724075f7 100644 --- a/web/regression/javascript/schema_ui_files/resource_group.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/resource_group.ui.spec.js @@ -46,11 +46,11 @@ describe('ResourceGroupSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -66,11 +66,11 @@ describe('ResourceGroupSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -86,8 +86,8 @@ describe('ResourceGroupSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/restore.ui.spec.js b/web/regression/javascript/schema_ui_files/restore.ui.spec.js index 870f87d7a..9c200c991 100644 --- a/web/regression/javascript/schema_ui_files/restore.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/restore.ui.spec.js @@ -45,10 +45,10 @@ describe('RestoreSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/role.ui.spec.js b/web/regression/javascript/schema_ui_files/role.ui.spec.js index 7a678bca3..5228c1df0 100644 --- a/web/regression/javascript/schema_ui_files/role.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/role.ui.spec.js @@ -61,11 +61,11 @@ describe('RoleSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -80,11 +80,11 @@ describe('RoleSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -99,8 +99,8 @@ describe('RoleSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/row_security_policy.ui.spec.js b/web/regression/javascript/schema_ui_files/row_security_policy.ui.spec.js index 731285381..edc9d4a54 100644 --- a/web/regression/javascript/schema_ui_files/row_security_policy.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/row_security_policy.ui.spec.js @@ -53,11 +53,11 @@ describe('RowSecurityPolicySchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -72,11 +72,11 @@ describe('RowSecurityPolicySchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -91,8 +91,8 @@ describe('RowSecurityPolicySchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/rule.ui.spec.js b/web/regression/javascript/schema_ui_files/rule.ui.spec.js index e42f0bce1..6107d15e9 100644 --- a/web/regression/javascript/schema_ui_files/rule.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/rule.ui.spec.js @@ -52,11 +52,11 @@ describe('RuleSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -71,11 +71,11 @@ describe('RuleSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -90,8 +90,8 @@ describe('RuleSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/schema.ui.spec.js b/web/regression/javascript/schema_ui_files/schema.ui.spec.js index 03723506c..22fb17431 100644 --- a/web/regression/javascript/schema_ui_files/schema.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/schema.ui.spec.js @@ -54,11 +54,11 @@ describe('PGSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -86,11 +86,11 @@ describe('PGSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -106,8 +106,8 @@ describe('PGSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/sequence.ui.spec.js b/web/regression/javascript/schema_ui_files/sequence.ui.spec.js index f116c0ce8..56ef4ac33 100644 --- a/web/regression/javascript/schema_ui_files/sequence.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/sequence.ui.spec.js @@ -62,11 +62,11 @@ describe('SequenceSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -82,11 +82,11 @@ describe('SequenceSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -102,8 +102,8 @@ describe('SequenceSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/server.ui.spec.js b/web/regression/javascript/schema_ui_files/server.ui.spec.js index 52881c072..440d77e59 100644 --- a/web/regression/javascript/schema_ui_files/server.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/server.ui.spec.js @@ -51,11 +51,11 @@ describe('ServerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -71,11 +71,11 @@ describe('ServerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -91,8 +91,8 @@ describe('ServerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/server_group.ui.spec.js b/web/regression/javascript/schema_ui_files/server_group.ui.spec.js index 3084f2df6..91e478252 100644 --- a/web/regression/javascript/schema_ui_files/server_group.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/server_group.ui.spec.js @@ -45,11 +45,11 @@ describe('ServerGroupSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -65,11 +65,11 @@ describe('ServerGroupSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -85,8 +85,8 @@ describe('ServerGroupSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/subscription.ui.spec.js b/web/regression/javascript/schema_ui_files/subscription.ui.spec.js index 171b0e463..fcbf1f7d4 100644 --- a/web/regression/javascript/schema_ui_files/subscription.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/subscription.ui.spec.js @@ -64,11 +64,11 @@ describe('SubscriptionSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -83,11 +83,11 @@ describe('SubscriptionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -102,8 +102,8 @@ describe('SubscriptionSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/synonym.ui.spec.js b/web/regression/javascript/schema_ui_files/synonym.ui.spec.js index a59b9cdb8..45fd449f9 100644 --- a/web/regression/javascript/schema_ui_files/synonym.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/synonym.ui.spec.js @@ -59,11 +59,11 @@ describe('SynonymSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -79,11 +79,11 @@ describe('SynonymSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -99,8 +99,8 @@ describe('SynonymSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/table.ui.spec.js b/web/regression/javascript/schema_ui_files/table.ui.spec.js index 1a73466f5..6c5be24e9 100644 --- a/web/regression/javascript/schema_ui_files/table.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/table.ui.spec.js @@ -72,11 +72,11 @@ describe('TableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -92,11 +92,11 @@ describe('TableSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -112,8 +112,8 @@ describe('TableSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/tablespace.ui.spec.js b/web/regression/javascript/schema_ui_files/tablespace.ui.spec.js index eafd48203..828af7f29 100644 --- a/web/regression/javascript/schema_ui_files/tablespace.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/tablespace.ui.spec.js @@ -62,11 +62,11 @@ describe('TablespaceSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -82,11 +82,11 @@ describe('TablespaceSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -102,8 +102,8 @@ describe('TablespaceSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/trigger.ui.spec.js b/web/regression/javascript/schema_ui_files/trigger.ui.spec.js index 34cc3e86e..419dea4ec 100644 --- a/web/regression/javascript/schema_ui_files/trigger.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/trigger.ui.spec.js @@ -57,11 +57,11 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -76,11 +76,11 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -95,8 +95,8 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -132,11 +132,11 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -163,8 +163,8 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -198,11 +198,11 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -239,11 +239,11 @@ describe('TriggerSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -290,11 +290,11 @@ describe('TriggerEventsSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -309,8 +309,8 @@ describe('TriggerEventsSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -322,11 +322,11 @@ describe('TriggerEventsSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/trigger_function.ui.spec.js b/web/regression/javascript/schema_ui_files/trigger_function.ui.spec.js index 5ca21518f..8f4017bcd 100644 --- a/web/regression/javascript/schema_ui_files/trigger_function.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/trigger_function.ui.spec.js @@ -66,11 +66,11 @@ describe('TriggerFunctionSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -85,11 +85,11 @@ describe('TriggerFunctionSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -104,8 +104,8 @@ describe('TriggerFunctionSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); diff --git a/web/regression/javascript/schema_ui_files/type.ui.spec.js b/web/regression/javascript/schema_ui_files/type.ui.spec.js index 35afe8516..2f9df484c 100644 --- a/web/regression/javascript/schema_ui_files/type.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/type.ui.spec.js @@ -63,11 +63,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -80,12 +80,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -149,11 +149,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -166,12 +166,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -196,11 +196,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -213,12 +213,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -258,11 +258,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -275,12 +275,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -312,11 +312,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -329,12 +329,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -397,11 +397,11 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -416,12 +416,12 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} getInitData={getInitData} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -437,8 +437,8 @@ describe('TypeSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); -}); \ No newline at end of file +}); diff --git a/web/regression/javascript/schema_ui_files/unique_constraint.ui.spec.js b/web/regression/javascript/schema_ui_files/unique_constraint.ui.spec.js index 0e05beb9d..913bf54e9 100644 --- a/web/regression/javascript/schema_ui_files/unique_constraint.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/unique_constraint.ui.spec.js @@ -73,11 +73,11 @@ describe('UniqueConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -93,11 +93,11 @@ describe('UniqueConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -113,8 +113,8 @@ describe('UniqueConstraintSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -126,11 +126,11 @@ describe('UniqueConstraintSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/user_mapping.ui.spec.js b/web/regression/javascript/schema_ui_files/user_mapping.ui.spec.js index cedd28fb2..32c519fc1 100644 --- a/web/regression/javascript/schema_ui_files/user_mapping.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/user_mapping.ui.spec.js @@ -61,11 +61,11 @@ describe('UserMappingSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -81,11 +81,11 @@ describe('UserMappingSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -101,8 +101,8 @@ describe('UserMappingSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); }); diff --git a/web/regression/javascript/schema_ui_files/variable.ui.spec.js b/web/regression/javascript/schema_ui_files/variable.ui.spec.js index 408ab4c43..3a5a5d4e1 100644 --- a/web/regression/javascript/schema_ui_files/variable.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/variable.ui.spec.js @@ -74,11 +74,11 @@ describe('VariableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -94,11 +94,11 @@ describe('VariableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -114,8 +114,8 @@ describe('VariableSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); }); @@ -140,11 +140,11 @@ describe('VariableSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} diff --git a/web/regression/javascript/schema_ui_files/view.ui.spec.js b/web/regression/javascript/schema_ui_files/view.ui.spec.js index 25ee37d6b..18ac87889 100644 --- a/web/regression/javascript/schema_ui_files/view.ui.spec.js +++ b/web/regression/javascript/schema_ui_files/view.ui.spec.js @@ -65,11 +65,11 @@ describe('ViewSchema', ()=>{ viewHelperProps={{ mode: 'create', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -85,11 +85,11 @@ describe('ViewSchema', ()=>{ viewHelperProps={{ mode: 'edit', }} - onSave={()=>{}} - onClose={()=>{}} - onHelp={()=>{}} - onEdit={()=>{}} - onDataChange={()=>{}} + onSave={()=>{/*This is intentional (SonarQube)*/}} + onClose={()=>{/*This is intentional (SonarQube)*/}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} + onDataChange={()=>{/*This is intentional (SonarQube)*/}} confirmOnCloseReset={false} hasSQL={false} disableSqlHelp={false} @@ -105,8 +105,8 @@ describe('ViewSchema', ()=>{ viewHelperProps={{ mode: 'properties', }} - onHelp={()=>{}} - onEdit={()=>{}} + onHelp={()=>{/*This is intentional (SonarQube)*/}} + onEdit={()=>{/*This is intentional (SonarQube)*/}} />); });