Skip to content

Commit

Permalink
Fixed access modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvid Heise committed Dec 4, 2018
1 parent 5f03c81 commit 02b5e6b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
@AllArgsConstructor
@Builder(toBuilder = true)
public class Person {
String id;
String firstName;
String lastName;
LocalDate birthDate;
Gender gender;
private String id;
private String firstName;
private String lastName;
private LocalDate birthDate;
private Gender gender;
// lineage
String source;
String originalId;
LocalDateTime lastModified;
private String source;
private String originalId;
private LocalDateTime lastModified;
// fusion information
@Builder.Default
Set<String> fusedIds = new HashSet<>();
private Set<String> fusedIds = new HashSet<>();
}

Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public class PersonFusion implements Fusion<Person> {

private static Set<String> fusionIdWithPersonId(Person p) {
if (p.getFusedIds().isEmpty()) {
return Set.of(p.id);
return Set.of(p.getId());
}
return p.fusedIds;
return p.getFusedIds();
}
}

0 comments on commit 02b5e6b

Please sign in to comment.