boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; WarDirectory directory = (WarDirectory)o; if (!relativePath.equals(directory.relativePath)) return false; return true; }