in src/main/java/com/amazonaws/services/dynamodbv2/LockItem.java [217:225]
public boolean equals(final Object other) {
if (other == null || !(other instanceof LockItem)) {
return false;
}
final LockItem otherLockItem = (LockItem) other;
/* key and ownerName should never be null due to a preconditions check */
return this.partitionKey.equals(otherLockItem.getPartitionKey()) && this.ownerName.equals(otherLockItem.getOwnerName());
}