Commit 65f5344d authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfs: check for null in equals of InodeCacheEntry

parent 480de249
......@@ -36,6 +36,7 @@ public class InodeCacheEntry<T> {
@Override
public boolean equals(Object obj) {
if(obj == null) return false;
if(obj == this) return true;
if( !obj.getClass().equals(this.getClass()) ) return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment