mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 20:45:28 +02:00
spring-cleaning, update all the dependencies
This commit is contained in:
@@ -300,7 +300,7 @@ public class FlatFileDataProcessor {
|
||||
|
||||
//We add a trailing : as it is needed for some reason (is it?)
|
||||
//TODO: Is the trailing ":" actually necessary?
|
||||
String fromSplit = org.apache.commons.lang.StringUtils.join(splitData, ":") + ":";
|
||||
String fromSplit = org.apache.commons.lang3.StringUtils.join(splitData, ":") + ":";
|
||||
stringBuilder.append(fromSplit).append("\r\n");
|
||||
}
|
||||
|
||||
|
@@ -234,7 +234,7 @@ public final class FlatFileDatabaseManager implements DatabaseManager {
|
||||
if (rewrite) {
|
||||
// Rewrite their data with a valid time
|
||||
character[OVERHAUL_LAST_LOGIN] = Long.toString(lastPlayed);
|
||||
String newLine = org.apache.commons.lang.StringUtils.join(character, ":");
|
||||
String newLine = org.apache.commons.lang3.StringUtils.join(character, ":");
|
||||
writer.append(newLine).append("\r\n");
|
||||
} else {
|
||||
writer.append(line).append("\r\n");
|
||||
@@ -905,7 +905,7 @@ public final class FlatFileDatabaseManager implements DatabaseManager {
|
||||
}
|
||||
|
||||
character[UUID_INDEX] = fetchedUUIDs.remove(character[USERNAME_INDEX]).toString();
|
||||
line = org.apache.commons.lang.StringUtils.join(character, ":") + ":";
|
||||
line = org.apache.commons.lang3.StringUtils.join(character, ":") + ":";
|
||||
}
|
||||
|
||||
i++;
|
||||
|
Reference in New Issue
Block a user