@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final ChangeEvent<?> that = (ChangeEvent<?>) o;

        if (!newValue.equals(that.newValue)) {
            return false;
        }

        if (oldValue != null ? !oldValue.equals(that.oldValue) : that.oldValue != null) {
            return false;
        }

        return true;
    }