Fix: Return of boolean expressions should not be wrapped into an "if-then-else" statement (squid:S1126)

This commit is contained in:
Jano Svitok 2018-07-30 12:10:44 +02:00
parent 1a34d13bbb
commit 188aec84d6

View File

@ -21,10 +21,7 @@ public class RemoteFile {
if (o == null || getClass() != o.getClass()) return false;
RemoteFile that = (RemoteFile) o;
if (!path.equals(that.path)) return false;
return true;
return path.equals(that.path);
}
@Override