Subversion Repositories SmartDukaan

Rev

Rev 21924 | Rev 22859 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21924 Rev 22009
Line 70... Line 70...
70
	@Override
70
	@Override
71
	public int hashCode() {
71
	public int hashCode() {
72
		final int prime = 31;
72
		final int prime = 31;
73
		int result = 1;
73
		int result = 1;
74
		result = prime * result + addressId;
74
		result = prime * result + addressId;
75
		result = prime * result + id;
-
 
76
		result = prime * result + shopId;
75
		result = prime * result + shopId;
77
		return result;
76
		return result;
78
	}
77
	}
79
 
78
 
80
	@Override
79
	@Override
Line 86... Line 85...
86
		if (getClass() != obj.getClass())
85
		if (getClass() != obj.getClass())
87
			return false;
86
			return false;
88
		ShopAddress other = (ShopAddress) obj;
87
		ShopAddress other = (ShopAddress) obj;
89
		if (addressId != other.addressId)
88
		if (addressId != other.addressId)
90
			return false;
89
			return false;
91
		if (id != other.id)
-
 
92
			return false;
-
 
93
		if (shopId != other.shopId)
90
		if (shopId != other.shopId)
94
			return false;
91
			return false;
95
		return true;
92
		return true;
96
	}
93
	}
97
 
94