11/*
2- * Copyright (c) 2018-2024 , FusionAuth, All Rights Reserved
2+ * Copyright (c) 2018-2025 , FusionAuth, All Rights Reserved
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -38,12 +38,6 @@ public class GroupMember implements Buildable<GroupMember> {
3838
3939 public ZonedDateTime insertInstant ;
4040
41- /**
42- * Deprecated since 1.52.0 (Aug 2024). Planned removal by end of 2024
43- */
44- @ Deprecated
45- public User user ;
46-
4741 public UUID userId ;
4842
4943 @ JacksonConstructor
@@ -56,7 +50,6 @@ public GroupMember(GroupMember member) {
5650 this .id = member .id ;
5751 this .insertInstant = member .insertInstant ;
5852 this .userId = member .userId ;
59- this .user = member .user == null ? null : new User (member .user );
6053 }
6154
6255 @ Override
@@ -72,13 +65,12 @@ public boolean equals(Object o) {
7265 Objects .equals (groupId , that .groupId ) &&
7366 Objects .equals (id , that .id ) &&
7467 Objects .equals (insertInstant , that .insertInstant ) &&
75- Objects .equals (userId , that .userId ) &&
76- Objects .equals (user , that .user );
68+ Objects .equals (userId , that .userId );
7769 }
7870
7971 @ Override
8072 public int hashCode () {
81- return Objects .hash (data , groupId , id , insertInstant , userId , user );
73+ return Objects .hash (data , groupId , id , insertInstant , userId );
8274 }
8375
8476 @ Override
0 commit comments