Skip to content

Commit

Permalink
Merge branch 'fix/373' into release/2.0.1
Browse files Browse the repository at this point in the history
* fix/373:
  fixes #373
  • Loading branch information
Nils Reiter committed Jul 16, 2021
2 parents ae7b794 + 2493b76 commit 6d66377
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ public static String toString(AnnotationTreeNode<Segment> tn, String sep, int ma
return null;
StringBuilder b = new StringBuilder();
while (tn != null) {
if (tn.get().getLabel() == null)
break;
if (tn.get().getLabel().equalsIgnoreCase("document"))
break;
String s = tn.get().getLabel();
Expand Down

0 comments on commit 6d66377

Please sign in to comment.