xenadmin/XenOvfApi
Danilo Del Busso 16d7f74158
CP-36392: Misc fixes to flagged Bugs (#2907)
* CP-36392: Add several `null` checks

All were flagged by SonarQube

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Specify `namespace` for `SettingsUpdate`

Added to `XenAdmin`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Collapse useless condition check

Also use pattern matching for type cast

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Specify `namespace` for `ProduceConsumerQueue`

Add to `XenAdmin.Actions`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Rename field in `BugToolPageSelectCapabilties` to avoid name clash

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Add explicit `null` check

While the `null` check in `GraphDetailsDialog.cs` is not strictly necessary, it has been added to fix a SonarQube issue

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Remove unused field in `WlbPoolConfiguration.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Replace useless self-assignment with ad-hoc method

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Simplify dictionary key assignment in `WlbScheduledTask.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Fix minor formatting issues

Add newline at end of file, and reformat content of if statement

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Tidy up latest flagged bugs changes

- Fix whitespace/braces in a few affected files
- Add missing null check in `ValueMaps.cs`
- Check for args length in `RbacCollectorProxy.cs`
- Fix logic in `MainWindow.cs` to revert to previous behaviour

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>

* CP-36392: Tidy up setter in `ChangeableList.cs`

Also update whitespace inconsitencies in `PerfmonAlertEditPage.cs` and `VMHAEditPage.cs`

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2021-12-21 15:53:46 +00:00
..
Definitions CP-36392 pt.1: Removed unused using directives. 2021-04-07 10:04:47 +01:00
Properties Tidy up config files (#2850) 2021-08-16 11:02:29 +01:00
Schemas Fix several usage errors identified by Lexica 2017-06-20 14:29:22 +01:00
Utilities CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
Compression.cs CA-347480: Improved ability to cancel an import/export while compressing/uncompressing the files, or packaging into/extracting from an OVA file. 2020-12-18 01:34:25 +00:00
Content.ja.resx Removed unused code alongside strings in need of branding. 2021-03-31 11:50:32 +01:00
Content.resx Removed unused code alongside strings in need of branding. 2021-03-31 11:50:32 +01:00
Content.zh-CN.resx Removed unused code alongside strings in need of branding. 2021-03-31 11:50:32 +01:00
Conversions.cs Merge branch 'master' of https://github.com/xenserver/xenadmin into pr/2903 2021-10-27 13:24:23 +01:00
DiskInfo.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Messages.Designer.cs CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
Messages.ja.resx L10n : Resx resync and translation update 2021-03-02 09:44:29 +00:00
Messages.resx CP-31105: Replaced the hardcoded name patterns in the resource files with format placeholders. 2021-03-31 11:50:32 +01:00
Messages.zh-CN.resx L10n : Resx resync and translation update 2021-03-02 09:44:29 +00:00
OVF.cs CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
OvfEventArgs.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Package.cs Tidy up config files (#2850) 2021-08-16 11:02:29 +01:00
Security.cs CP-36392: Misc fixes to flagged Bugs (#2907) 2021-12-21 15:53:46 +00:00
Validation.cs Tidy up config files (#2850) 2021-08-16 11:02:29 +01:00
XenOvfApi.csproj Tidy up config files (#2850) 2021-08-16 11:02:29 +01:00