AnantLabs / oauth-dot-net

Automatically exported from code.google.com/p/oauth-dot-net
0 stars 0 forks source link

Bug in InMemoryTokenStore method #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
OAuth.Net-source-0.5.1.0

Please provide any additional information below.

protected virtual ICollection<IToken> GetByPredicate(...,...)

   if (matches.Count > 0)
   return null;
    else
   return new ReadOnlyCollection<IToken>(matches);

...should read "if(matches.Count ==0)"  :-)

Original issue reported on code.google.com by dougal9...@gmail.com on 11 Mar 2009 at 12:54

GoogleCodeExporter commented 9 years ago
Made change as suggested.

Original comment by chris.s....@gmail.com on 12 Mar 2009 at 9:49