Skip to content

Deletes all the Obsoletes in PulsarSystem #16

Deletes all the Obsoletes in PulsarSystem

Deletes all the Obsoletes in PulsarSystem #16

Triggered via pull request January 20, 2024 17:21
@eabaeaba
opened #173
obsolete
Status Success
Total duration 4m 27s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1973,55): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Shared/SchemaType.cs(308,13): warning CS0612: 'SchemaType.AUTO' is obsolete [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/Protocol/Proto/PulsarApi.cs(1976,47): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/PulsarSystem.cs(26,50): warning CS0649: Field 'PulsarSystem._conf' is never assigned to, and will always have its default value null [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar/SharpPulsar.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.API/Schema/KeyValueSchemaTest.cs(267,17): warning xUnit2020: Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.API/SharpPulsar.Test.API.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/TokenTests.cs(88,35): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/SharpPulsar.Test.Token.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/TokenTests.cs(143,63): warning CS8602: Dereference of a possibly null reference. [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test.Token/SharpPulsar.Test.Token.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/TableViewTests.cs(48,28): warning CS0618: 'PulsarClient.NewTableViewBuilder<T>(ISchema<T>)' is obsolete: 'deprecated use newTableView(ISchema) instead' [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/SharpPulsar.Test.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/TableViewTests.cs(86,28): warning CS0618: 'PulsarClient.NewTableViewBuilder<T>(ISchema<T>)' is obsolete: 'deprecated use newTableView(ISchema) instead' [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/SharpPulsar.Test.csproj]
ubuntu-latest
/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/GenericSchemaTest.cs(88,73): warning SYSLIB0020: 'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020) [/home/runner/work/SharpPulsar/SharpPulsar/src/SharpPulsar.Test/SharpPulsar.Test.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Proto\PulsarApi.cs(1973,55): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Shared\SchemaType.cs(308,13): warning CS0612: 'SchemaType.AUTO' is obsolete [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\Protocol\Proto\PulsarApi.cs(1976,47): warning CS0078: The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\PulsarSystem.cs(26,50): warning CS0649: Field 'PulsarSystem._conf' is never assigned to, and will always have its default value null [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar\SharpPulsar.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.API\Schema\KeyValueSchemaTest.cs(267,17): warning xUnit2020: Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.API\SharpPulsar.Test.API.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.Token\TokenTests.cs(88,35): warning CS8602: Dereference of a possibly null reference. [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.Token\SharpPulsar.Test.Token.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.Token\TokenTests.cs(143,63): warning CS8602: Dereference of a possibly null reference. [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test.Token\SharpPulsar.Test.Token.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\TableViewTests.cs(48,28): warning CS0618: 'PulsarClient.NewTableViewBuilder<T>(ISchema<T>)' is obsolete: 'deprecated use newTableView(ISchema) instead' [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\SharpPulsar.Test.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\TableViewTests.cs(86,28): warning CS0618: 'PulsarClient.NewTableViewBuilder<T>(ISchema<T>)' is obsolete: 'deprecated use newTableView(ISchema) instead' [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\SharpPulsar.Test.csproj]
windows-latest
D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\GenericSchemaTest.cs(88,73): warning SYSLIB0020: 'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020) [D:\a\SharpPulsar\SharpPulsar\src\SharpPulsar.Test\SharpPulsar.Test.csproj]