Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2015-04-16 08:47:47 +0300
committernulltoken <emeric.fermas@gmail.com>2015-04-16 08:47:47 +0300
commit61adafd2bacb8178f2ef5043ac121de603dc34c0 (patch)
tree77d23b26ebcd8f50eace9051105f6a1b2bd8520f
parent40de6945028bb112eda279608a764e5afb3a45fb (diff)
parentf17d9717255f99fc979d3bb46d98f98a500c757d (diff)
Merge pull request #1024 from ThomasBarnekow/beautify-file-path-extensions
Beautify FilePathExtensions
-rw-r--r--LibGit2Sharp/Core/FilePathExtensions.cs10
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
+}