Пример #1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = super.hashCode();
   result = prime * result + ((properties == null) ? 0 : properties.hashCode());
   return result;
 }
Пример #2
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (!super.equals(obj)) return false;
   if (getClass() != obj.getClass()) return false;
   AzureBlobImpl other = (AzureBlobImpl) obj;
   if (properties == null) {
     if (other.properties != null) return false;
   } else if (!properties.equals(other.properties)) return false;
   return true;
 }
Пример #3
0
 @Override
 public void setPayload(Payload data) {
   super.setPayload(data);
   properties.setContentMetadata(data.getContentMetadata());
 }