Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 5, 2016
2 parents 1404431 + 955b893 commit 925efbe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Expand Up @@ -1473,7 +1473,7 @@ protected void setTimeZone(PageBase page){
}
if (timeZone != null) {
WebSession.get().getClientInfo().getProperties().
setTimeZone(TimeZone.getTimeZone(principal.getAdminGuiConfiguration().getDefaultTimezone()));
setTimeZone(TimeZone.getTimeZone(timeZone));
}
}

Expand Down
Expand Up @@ -1104,14 +1104,16 @@ public void setDoesNotMatchTaskSpecification() {
}

private void setSituation(SynchronizationInformation.Record increment, SynchronizationSituationType situation) {
switch (situation) {
case LINKED: increment.setCountLinked(1); break;
case UNLINKED: increment.setCountUnlinked(1); break;
case DELETED: increment.setCountDeleted(1); break;
case DISPUTED: increment.setCountDisputed(1); break;
case UNMATCHED: increment.setCountUnmatched(1); break;
default:
// noop (or throw exception?)
if (situation != null) {
switch (situation) {
case LINKED: increment.setCountLinked(1); break;
case UNLINKED: increment.setCountUnlinked(1); break;
case DELETED: increment.setCountDeleted(1); break;
case DISPUTED: increment.setCountDisputed(1); break;
case UNMATCHED: increment.setCountUnmatched(1); break;
default:
// noop (or throw exception?)
}
}
}

Expand Down

0 comments on commit 925efbe

Please sign in to comment.