Skip to content

Commit 2cda879

Browse files
committed
style: StyleCop fixes
1 parent 8721f9b commit 2cda879

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Fossology.Rest.Dotnet.Model/FossologyLicense.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ public class FossologyLicense
3131
/// Gets or sets the url.
3232
/// </summary>
3333
[JsonProperty("url")]
34+
#pragma warning disable CA1056 // Uri properties should not be strings
3435
public string Url { get; set; }
36+
#pragma warning restore CA1056 // Uri properties should not be strings
3537

3638
/// <inheritdoc />
3739
public override string ToString()

Fossology.Rest.Dotnet.Model/License.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ public class License
4343
/// Gets or sets the url.
4444
/// </summary>
4545
[JsonProperty("url")]
46+
#pragma warning disable CA1056 // Uri properties should not be strings
4647
public string Url { get; set; }
48+
#pragma warning restore CA1056 // Uri properties should not be strings
4749

4850
/// <summary>
4951
/// Gets or sets the risk.

0 commit comments

Comments
 (0)