refactor: Remove useless suppressions

This commit is contained in:
2025-02-22 15:39:38 +08:00
parent 75124a4f62
commit ce0c23805a

View File

@@ -1,6 +1,5 @@
using Cryville.EEW.Core.Map; using Cryville.EEW.Core.Map;
using System; using System;
using System.Diagnostics.CodeAnalysis;
using System.IO; using System.IO;
using System.Net.Http; using System.Net.Http;
using System.Threading; using System.Threading;
@@ -67,7 +66,6 @@ namespace Cryville.EEW.Unity.Map {
_downloadDone = true; _downloadDone = true;
} }
[SuppressMessage("CodeQuality", "IDE0051", Justification = "Unity message")]
void Update() { void Update() {
if (_downloadDone) { if (_downloadDone) {
try { try {
@@ -100,7 +98,6 @@ namespace Cryville.EEW.Unity.Map {
_callback?.Invoke(this); _callback?.Invoke(this);
} }
[SuppressMessage("CodeQuality", "IDE0051", Justification = "Unity message")]
void OnDestroy() { void OnDestroy() {
if (_req != null) { if (_req != null) {
_req.Abort(); _req.Abort();