Fix StackOverflow bug in PocketItem equality overload
This commit is contained in:
2014-07-27 13:01:53 +02:00
parent f62820e069
commit 9af20d05dc
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
### 4.1.5 (2014-07-27)
- Fix StackOverflow bug in PocketItem equality overload (fixes #28)
### 4.1.4 (2014-07-18)
- Implement WebAuthenticationBroker-view toggle
+1 -1
View File
@@ -366,7 +366,7 @@ namespace PocketSharp.Models
/// </returns>
public static bool operator ==(PocketItem a, PocketItem b)
{
if (a == null || b == null)
if (Object.ReferenceEquals(a, b))
{
return false;
}
+2 -2
View File
@@ -22,5 +22,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.1.4")]
[assembly: AssemblyFileVersion("4.1.4")]
[assembly: AssemblyVersion("4.1.5")]
[assembly: AssemblyFileVersion("4.1.5")]