Fix PocketItem.Equals(object obj). #32

This commit is contained in:
Felipe Fujiy Pessoto
2016-02-20 23:36:46 -03:00
parent 4998db08a6
commit a1a56668a0
+2 -2
View File
@@ -411,9 +411,9 @@ namespace PocketSharp.Models
return false;
}
PocketItem item = (PocketItem)obj;
PocketItem item = obj as PocketItem;
if ((Object)item == null)
if (item == null)
{
return false;
}