summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-16 09:26:46 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-16 09:26:46 +0200
commitff0068f0e79c4ac5373c0254e97052ab462033ec (patch)
tree1bb780d3f2b8658619d45624cb933a82c1915958 /sonar-core
parentb2333a80fa1a54be00db5b2d7b3c97c8c331cf1b (diff)
downloadsonarqube-ff0068f0e79c4ac5373c0254e97052ab462033ec.tar.gz
sonarqube-ff0068f0e79c4ac5373c0254e97052ab462033ec.zip
SONAR-3893 First symbol API version
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/source/jdbc/SnapshotDataDto.java26
1 files changed, 0 insertions, 26 deletions
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;
- }
}