mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3502] [MERGED] Use Array.Empty #9558
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/3502
Author: @barronpm
Created: 7/4/2020
Status: ✅ Merged
Merged: 7/5/2020
Merged by: @Bond-009
Base:
master← Head:array-empty📝 Commits (1)
6d1b00dUse Array.Empty📊 Changes
20 files changed (+33 additions, -27 deletions)
View changed files
📝
Emby.Dlna/Profiles/DefaultProfile.cs(+1 -1)📝
Emby.Dlna/Profiles/DenonAvrProfile.cs(+1 -1)📝
Emby.Dlna/Profiles/DirectTvProfile.cs(+1 -1)📝
Emby.Dlna/Profiles/Foobar2000Profile.cs(+1 -1)📝
Emby.Dlna/Profiles/MarantzProfile.cs(+1 -1)📝
Emby.Dlna/Profiles/MediaMonkeyProfile.cs(+2 -1)📝
Emby.Dlna/Profiles/SonyBlurayPlayer2013.cs(+2 -1)📝
Emby.Dlna/Profiles/SonyBlurayPlayer2014.cs(+2 -1)📝
Emby.Dlna/Profiles/SonyBlurayPlayer2015.cs(+2 -1)📝
Emby.Dlna/Profiles/SonyBlurayPlayer2016.cs(+2 -1)📝
MediaBrowser.Api/FilterService.cs(+1 -1)📝
MediaBrowser.Controller/Entities/BaseItem.cs(+1 -1)📝
MediaBrowser.Controller/Entities/Movies/BoxSet.cs(+1 -1)📝
MediaBrowser.Controller/Library/TVUtils.cs(+1 -1)📝
MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs(+1 -1)📝
MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs(+2 -2)📝
MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs(+1 -1)📝
MediaBrowser.Model/Dlna/StreamInfo.cs(+6 -6)📝
MediaBrowser.Model/Querying/UpcomingEpisodesQuery.cs(+2 -1)📝
MediaBrowser.Providers/Manager/MetadataService.cs(+2 -2)📄 Description
Changes
Uses Array.Empty where applicable to reduce unnecessary allocations. Intentionally does not change ProviderManager, as I have another PR for that class.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.