3227 TR kodformatering
This commit is contained in:
parent
9100e593a8
commit
91d2bc3559
@ -38,8 +38,7 @@ class SyncReviewerWithDaisy {
|
||||
Set<ProjectParticipant> contributors = daisyAPI.getContributors(project.getIdentifier());
|
||||
for (ProjectParticipant contributor : contributors) {
|
||||
if (Objects.equals(contributor.getPerson().getId(), reviewer.getIdentifier())
|
||||
&& Objects.equals(Role.REVIEWER, contributor.getRole()))
|
||||
{
|
||||
&& Objects.equals(Role.REVIEWER, contributor.getRole())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -61,8 +60,7 @@ class SyncReviewerWithDaisy {
|
||||
LOGGER.log(System.Logger.Level.ERROR, "Faulty reviewer sync: {0}", response.getHeaderString("X-Error-Message"));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (RuntimeException ignored) {
|
||||
} catch (RuntimeException ignored) {
|
||||
// ignore errors and let them be fixed later by the daily sync
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user