Skip to content

Commit

Permalink
HotFix #103 Infinite recursion (StackOverflowError)
Browse files Browse the repository at this point in the history
  • Loading branch information
IDragonfire committed May 30, 2017
1 parent c59f767 commit 40cde59
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/faforever/api/data/domain/Login.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.faforever.api.data.domain;

import com.faforever.api.data.checks.IsLoginOwner;
import com.yahoo.elide.annotation.ComputedAttribute;
import com.yahoo.elide.annotation.ReadPermission;
import com.yahoo.elide.annotation.UpdatePermission;
import lombok.Setter;
Expand Down Expand Up @@ -68,7 +67,6 @@ public List<BanInfo> getBans() {
}

@Transient
@ComputedAttribute
public List<BanInfo> getActiveBans() {
return getBans().stream().filter(ban -> ban.getBanStatus() == BanStatus.BANNED).collect(Collectors.toList());
}
Expand Down

0 comments on commit 40cde59

Please sign in to comment.