Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
cmurer committed Oct 21, 2015
1 parent 030c56e commit eaee26d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void delete(final AGR aggregate) {
@Override
public AGR get(final Object aggregateIdentifier, Long expectedVersion) {
final AGR agr = doLoad(aggregateIdentifier, expectedVersion);
if (null != agr) && (null != agr.getVersion()) {
if (null != agr && null != agr.getVersion()) {
agr.setVersion(0L);
}
return agr;
Expand Down

0 comments on commit eaee26d

Please sign in to comment.