Skip to content

Commit 5323192

Browse files
committed
Fix ConferencesEvent not having correct generics
1 parent ba70bd8 commit 5323192

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/src/main/java/com/proxerme/library/event/success/ConferencesEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @author Ruben Gees
1414
*/
15-
public class ConferencesEvent implements IEvent {
15+
public class ConferencesEvent implements IEvent<List<Conference>> {
1616

1717
private List<Conference> conferences;
1818

@@ -22,7 +22,7 @@ public ConferencesEvent(@NonNull List<Conference> conferences) {
2222

2323
@NonNull
2424
@Override
25-
public Object getItem() {
25+
public List<Conference> getItem() {
2626
return conferences;
2727
}
2828
}

0 commit comments

Comments
 (0)