diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-08-22 22:03:52 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-08-22 22:03:52 +0400 |
commit | 1aa5f1136dc23523729a95b0d1bcc47564fce711 (patch) | |
tree | 6b86f39fee6287db8290e189721303b5ad72547a /LibGit2Sharp/ObjectDatabase.cs | |
parent | c3e602c3846841ecc3c79715c5b97f835787862f (diff) |
Clean up trailing whitespaces
Diffstat (limited to 'LibGit2Sharp/ObjectDatabase.cs')
-rw-r--r-- | LibGit2Sharp/ObjectDatabase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGit2Sharp/ObjectDatabase.cs b/LibGit2Sharp/ObjectDatabase.cs index e7c618f9..b53f1fde 100644 --- a/LibGit2Sharp/ObjectDatabase.cs +++ b/LibGit2Sharp/ObjectDatabase.cs @@ -41,7 +41,7 @@ namespace LibGit2Sharp /// <returns>An <see cref="IEnumerator{T}"/> object that can be used to iterate through the collection.</returns> public virtual IEnumerator<GitObject> GetEnumerator() { - ICollection<GitOid> oids = Proxy.git_odb_foreach(handle, + ICollection<GitOid> oids = Proxy.git_odb_foreach(handle, ptr => (GitOid) Marshal.PtrToStructure(ptr, typeof (GitOid))); return oids @@ -59,7 +59,7 @@ namespace LibGit2Sharp } #endregion - + /// <summary> /// Determines if the given object can be found in the object database. /// </summary> @@ -157,7 +157,7 @@ namespace LibGit2Sharp public virtual Blob CreateBlob(Stream stream, string hintpath = null, int? numberOfBytesToConsume = null) { Ensure.ArgumentNotNull(stream, "stream"); - + if (!stream.CanRead) { throw new ArgumentException("The stream cannot be read from.", "stream"); |