mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5844] [CLOSED] Code Clean up: Remove redundant 'else' keywords #10689
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/5844
Author: @BaronGreenback
Created: 4/17/2021
Status: ❌ Closed
Base:
master← Head:redundantElses📝 Commits (1)
d98e70eRemove redundant 'else' keywords📊 Changes
20 files changed (+161 additions, -141 deletions)
View changed files
📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+58 -29)📝
Emby.Server.Implementations/Library/MediaSourceManager.cs(+2 -4)📝
Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs(+2 -4)📝
Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs(+4 -5)📝
Emby.Server.Implementations/SyncPlay/Group.cs(+4 -8)📝
Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs(+2 -4)📝
Jellyfin.Api/Controllers/SubtitleController.cs(+2 -4)📝
Jellyfin.Networking/Manager/NetworkManager.cs(+6 -6)📝
MediaBrowser.Common/Cryptography/PasswordHash.cs(+2 -1)📝
MediaBrowser.Common/System/OperatingSystem.cs(+4 -2)📝
MediaBrowser.Controller/Entities/BaseItem.cs(+9 -13)📝
MediaBrowser.Controller/LiveTv/LiveTvProgram.cs(+2 -4)📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+8 -7)📝
MediaBrowser.Controller/Sorting/AlphanumComparator.cs(+16 -8)📝
MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs(+3 -5)📝
MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs(+11 -18)📝
MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs(+2 -4)📝
MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs(+4 -2)📝
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs(+4 -5)📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+16 -8)📄 Description
As per ReSharper: No extra code added.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.