From ff0068f0e79c4ac5373c0254e97052ab462033ec Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Vilain Date: Tue, 16 Apr 2013 09:26:46 +0200 Subject: SONAR-3893 First symbol API version --- .../sonar/core/source/jdbc/SnapshotDataDto.java | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/source/jdbc/SnapshotDataDto.java b/sonar-core/src/main/java/org/sonar/core/source/jdbc/SnapshotDataDto.java index 7a8669eed10..847ac49e1b5 100644 --- a/sonar-core/src/main/java/org/sonar/core/source/jdbc/SnapshotDataDto.java +++ b/sonar-core/src/main/java/org/sonar/core/source/jdbc/SnapshotDataDto.java @@ -70,30 +70,4 @@ public class SnapshotDataDto { public void setDataType(String dataType) { this.dataType = dataType; } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - - SnapshotDataDto that = (SnapshotDataDto) o; - - if (id != that.id) return false; - if (resourceId != that.resourceId) return false; - if (snapshotId != that.snapshotId) return false; - if (data != null ? !data.equals(that.data) : that.data != null) return false; - if (dataType != null ? !dataType.equals(that.dataType) : that.dataType != null) return false; - - return true; - } - - @Override - public int hashCode() { - int result = (int) (id ^ (id >>> 32)); - result = 31 * result + (int) (snapshotId ^ (snapshotId >>> 32)); - result = 31 * result + (int) (resourceId ^ (resourceId >>> 32)); - result = 31 * result + (data != null ? data.hashCode() : 0); - result = 31 * result + (dataType != null ? dataType.hashCode() : 0); - return result; - } } -- cgit v1.2.3