Skip to content

Commit

Permalink
Fixes #319 - remove redundant null check
Browse files Browse the repository at this point in the history
  • Loading branch information
dickschoeller committed May 31, 2017
1 parent 7bb3154 commit ba58c6c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@ public void loadAttributes(final GedDocument<?> document,
final List<GedObject> gedAttributes) {
document.clearAttributes();
for (final GedObject ged : gedAttributes) {
// This happens because appenders create a list entry when they
// are not retained.
if (ged == null) {
continue;
}
final GedDocument<?> documentAttribute =
createGedDocument(ged);
document.addAttribute(documentAttribute);
Expand Down

0 comments on commit ba58c6c

Please sign in to comment.