[PR #5893] [MERGED] SqliteItemRepository: remove redundant operations #10712

Closed
opened 2026-02-07 06:25:26 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5893
Author: @Bond-009
Created: 4/22/2021
Status: Merged
Merged: 4/29/2021
Merged by: @Bond-009

Base: masterHead: db


📝 Commits (1)

  • a02e37d SqliteItemRepository: remove redundant operations

📊 Changes

3 files changed (+68 additions, -122 deletions)

View changed files

📝 Emby.Server.Implementations/Data/SqliteItemRepository.cs (+66 -119)
📝 Emby.Server.Implementations/Library/LibraryManager.cs (+1 -1)
📝 MediaBrowser.Controller/Persistence/IItemRepository.cs (+1 -2)

📄 Description

removed:

  • nameof -> FullName lookup
  • IndexOf before Replace
  • Enum.GetNames -> Enum.Parse roundtrip

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5893 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 4/22/2021 **Status:** ✅ Merged **Merged:** 4/29/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `db` --- ### 📝 Commits (1) - [`a02e37d`](https://github.com/jellyfin/jellyfin/commit/a02e37daa009bebc3c5076b0e407dffe41e84c55) SqliteItemRepository: remove redundant operations ### 📊 Changes **3 files changed** (+68 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Data/SqliteItemRepository.cs` (+66 -119) 📝 `Emby.Server.Implementations/Library/LibraryManager.cs` (+1 -1) 📝 `MediaBrowser.Controller/Persistence/IItemRepository.cs` (+1 -2) </details> ### 📄 Description removed: * nameof -> FullName lookup * IndexOf before Replace * Enum.GetNames -> Enum.Parse roundtrip --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:25:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10712