View | Details | Raw Unified | Return to bug 399523
Collapse All | Expand All

(-)a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/internal/GenericJpaPlatform.java (-1 / +27 lines)
Lines 251-254 public class GenericJpaPlatform Link Here
251
	public JPQLGrammar getJpqlGrammar() {
251
	public JPQLGrammar getJpqlGrammar() {
252
		return jpqlGrammar;
252
		return jpqlGrammar;
253
	}
253
	}
254
255
256
	@Override
257
	public int hashCode() {
258
		final int prime = 31;
259
		int result = 1;
260
		result = prime * result + ((id == null) ? 0 : id.hashCode());
261
		return result;
262
	}
263
264
265
	@Override
266
	public boolean equals(Object obj) {
267
		if (this == obj)
268
			return true;
269
		if (obj == null)
270
			return false;
271
		if (getClass() != obj.getClass())
272
			return false;
273
		GenericJpaPlatform other = (GenericJpaPlatform) obj;
274
		if (id == null) {
275
			if (other.id != null)
276
				return false;
277
		} else if (!id.equals(other.id))
278
			return false;
279
		return true;
280
	}
254
}
281
}
255
- 

Return to bug 399523