boolean (Object o) { if (this == o) return true; if (!(o instanceof WebResource resource)) return false; if (!file.getPath().equals(resource.file.getPath())) return false; if (warDirectory != resource.warDirectory) return false; if (!warRelativePath.equals(resource.warRelativePath)) return false; return true; }