Commit 6deaf25b authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Remove unnecessary null check.

parent 377c7666
......@@ -104,7 +104,7 @@ public class TorVersion implements Comparable<TorVersion> {
public boolean equals(Object other) {
return null != other && other instanceof TorVersion
return other instanceof TorVersion
&& this.compareTo((TorVersion) other) == 0;
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