mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Replace Guava with Java joiner
This commit is contained in:
@ -26,8 +26,8 @@
|
||||
package com.github.games647.fastlogin.core.shared;
|
||||
|
||||
import com.github.games647.fastlogin.core.StoredProfile;
|
||||
import com.google.common.base.MoreObjects;
|
||||
|
||||
import java.util.StringJoiner;
|
||||
import java.util.UUID;
|
||||
|
||||
public abstract class LoginSession {
|
||||
@ -90,13 +90,13 @@ public abstract class LoginSession {
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("profile", profile)
|
||||
.add("requestUsername", requestUsername)
|
||||
.add("username", username)
|
||||
.add("uuid", uuid)
|
||||
.add("registered", registered)
|
||||
public String toString() {
|
||||
return new StringJoiner(", ", LoginSession.class.getSimpleName() + "[", "]")
|
||||
.add("profile=" + profile)
|
||||
.add("requestUsername='" + requestUsername + "'")
|
||||
.add("username='" + username + "'")
|
||||
.add("uuid=" + uuid)
|
||||
.add("registered=" + registered)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user