mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
replace String.isEmpty() with String.length()==0 for Java < 1.6 compat.
This commit is contained in:
@@ -57,7 +57,7 @@ public class QuestData_Prefs implements Serializable {
|
||||
BufferedReader input = new BufferedReader(new FileReader(ForgeProps.getFile(QUEST.PREFS)));
|
||||
String line = null;
|
||||
while((line = input.readLine()) != null){
|
||||
if (line.startsWith("#") || line.isEmpty())
|
||||
if (line.startsWith("#") || line.length() == 0)
|
||||
continue;
|
||||
String[] split = line.split("=");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user