diff options
author | nulltoken <emeric.fermas@gmail.com> | 2015-04-16 08:47:47 +0300 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2015-04-16 08:47:47 +0300 |
commit | 61adafd2bacb8178f2ef5043ac121de603dc34c0 (patch) | |
tree | 77d23b26ebcd8f50eace9051105f6a1b2bd8520f | |
parent | 40de6945028bb112eda279608a764e5afb3a45fb (diff) | |
parent | f17d9717255f99fc979d3bb46d98f98a500c757d (diff) |
Merge pull request #1024 from ThomasBarnekow/beautify-file-path-extensions
Beautify FilePathExtensions
-rw-r--r-- | LibGit2Sharp/Core/FilePathExtensions.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/LibGit2Sharp/Core/FilePathExtensions.cs b/LibGit2Sharp/Core/FilePathExtensions.cs index 930f38ed..66118492 100644 --- a/LibGit2Sharp/Core/FilePathExtensions.cs +++ b/LibGit2Sharp/Core/FilePathExtensions.cs @@ -2,14 +2,14 @@ namespace LibGit2Sharp.Core { internal static class FilePathExtensions { - internal static FilePath Combine(this FilePath @this, string childPath) + internal static FilePath Combine(this FilePath filePath, string childPath) { - return @this.IsNullOrEmpty() ? childPath : @this.Posix + "/" + childPath; + return filePath.IsNullOrEmpty() ? childPath : filePath.Posix + "/" + childPath; } - internal static bool IsNullOrEmpty(this FilePath @this) + internal static bool IsNullOrEmpty(this FilePath filePath) { - return ReferenceEquals(@this, null) || @this.Posix.Length == 0; + return ReferenceEquals(filePath, null) || filePath.Posix.Length == 0; } } -}
\ No newline at end of file +} |