[PR #5409] [MERGED] Changed string.Length == 0 to string.IsNullOrEmpty in case of null #10516

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5409
Author: @ikomhoog
Created: 3/8/2021
Status: Merged
Merged: 3/9/2021
Merged by: @joshuaboniface

Base: masterHead: master


📝 Commits (2)

  • d4201f8 Changed string.Length == 0 to string.IsNullOrEmpty in case of null
  • 02122f2 Update contributors

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CONTRIBUTORS.md (+1 -0)
📝 Emby.Server.Implementations/Library/PathExtensions.cs (+1 -1)

📄 Description

Changes
I changed Length == 0 to string.IsNullOrEmpty to account for null values

Issues
https://github.com/jellyfin/jellyfin/issues/5408


🔄 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/5409 **Author:** [@ikomhoog](https://github.com/ikomhoog) **Created:** 3/8/2021 **Status:** ✅ Merged **Merged:** 3/9/2021 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`d4201f8`](https://github.com/jellyfin/jellyfin/commit/d4201f812cac5d1b5f4cdd618770df421b3fad70) Changed string.Length == 0 to string.IsNullOrEmpty in case of null - [`02122f2`](https://github.com/jellyfin/jellyfin/commit/02122f28cc7dce1758f4a8e714dc8a8e7f4bb21f) Update contributors ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTORS.md` (+1 -0) 📝 `Emby.Server.Implementations/Library/PathExtensions.cs` (+1 -1) </details> ### 📄 Description **Changes** I changed Length == 0 to string.IsNullOrEmpty to account for null values **Issues** https://github.com/jellyfin/jellyfin/issues/5408 --- <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:21:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10516