securis/pom.xml
.. .. @@ -3,7 +3,7 @@ 3 3 <modelVersion>4.0.0</modelVersion> 4 4 <groupId>net.curisit</groupId> 5 5 <artifactId>securis-server</artifactId> 6 - <version>1.0</version>6 + <version>1.0.1</version>7 7 <name>SeCuris</name> 8 8 <description>CurisTEC Server Licenses</description> 9 9 <dependencies> securis/src/main/java/net/curisit/securis/db/ApplicationMetadata.java
.. .. @@ -20,7 +20,6 @@ 20 20 import com.fasterxml.jackson.annotation.JsonInclude; 21 21 import com.fasterxml.jackson.annotation.JsonInclude.Include; 22 22 import com.fasterxml.jackson.annotation.JsonProperty; 23 -import com.google.common.base.Objects;24 23 25 24 /** 26 25 * Entity implementation class for Entity: application_metadata .. .. @@ -96,20 +95,6 @@ 96 95 97 96 public void setMandatory(boolean mandatory) { 98 97 this.mandatory = mandatory; 99 - }100 -101 - @Override102 - public boolean equals(Object obj) {103 - if (!(obj instanceof ApplicationMetadata))104 - return false;105 - ApplicationMetadata other = (ApplicationMetadata) obj;106 - return Objects.equal(key, other.key) && Objects.equal(application, other.application);107 - }108 -109 - @Override110 - public int hashCode() {111 -112 - return (key == null ? 0 : key.hashCode()) + (application == null ? 0 : application.hashCode());113 98 } 114 99 115 100 @Override securis/src/main/java/net/curisit/securis/db/LicenseTypeMetadata.java
.. .. @@ -69,20 +69,6 @@ 69 69 this.key = key; 70 70 } 71 71 72 - @Override73 - public boolean equals(Object obj) {74 - if (!(obj instanceof LicenseTypeMetadata))75 - return false;76 - LicenseTypeMetadata other = (LicenseTypeMetadata) obj;77 - return key.equals(other.key) && (licenseType == null || licenseType.equals(other.licenseType));78 - }79 -80 - @Override81 - public int hashCode() {82 -83 - return key.hashCode() + (licenseType == null ? 0 : licenseType.hashCode());84 - }85 -86 72 public boolean isMandatory() { 87 73 return mandatory; 88 74 } securis/src/main/java/net/curisit/securis/db/PackMetadata.java
.. .. @@ -95,20 +95,6 @@ 95 95 this.readonly = readonly; 96 96 } 97 97 98 - @Override99 - public boolean equals(Object obj) {100 - if (!(obj instanceof PackMetadata))101 - return false;102 - PackMetadata other = (PackMetadata) obj;103 - return key.equals(other.key) && (pack == null || pack.equals(other.pack));104 - }105 -106 - @Override107 - public int hashCode() {108 -109 - return key.hashCode() + (pack == null ? 0 : pack.hashCode());110 - }111 -112 98 public boolean isMandatory() { 113 99 return mandatory; 114 100 }