Skip to content

Commit

Permalink
fix NoSuchMethodError Relations() (#1720)
Browse files Browse the repository at this point in the history
Change-Id: I25b50a8d529d0292d700aaac0f63b4722a99160f
  • Loading branch information
javeme authored Dec 31, 2021
1 parent f19accc commit 132582a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,10 @@ private static class Relations extends LinkedHashSet<Relation> {

private static final long serialVersionUID = -2110811280408887334L;

public Relations() {
super();
}

public static Relations of(Relation... relations) {
Relations rs = new Relations();
rs.addAll(Arrays.asList(relations));
Expand Down

0 comments on commit 132582a

Please sign in to comment.