Fix generic type in PlayerAuth matcher
This commit is contained in:
parent
8e4288f911
commit
c4b02d74b7
@ -44,8 +44,8 @@ public final class AuthMeMatchers {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Matcher<? super PlayerAuth> hasAuthBasicData(String name, String realName,
|
public static Matcher<PlayerAuth> hasAuthBasicData(String name, String realName,
|
||||||
String email, String lastIp) {
|
String email, String lastIp) {
|
||||||
return new TypeSafeMatcher<PlayerAuth>() {
|
return new TypeSafeMatcher<PlayerAuth>() {
|
||||||
@Override
|
@Override
|
||||||
public boolean matchesSafely(PlayerAuth item) {
|
public boolean matchesSafely(PlayerAuth item) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user