mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48: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)));
|
BufferedReader input = new BufferedReader(new FileReader(ForgeProps.getFile(QUEST.PREFS)));
|
||||||
String line = null;
|
String line = null;
|
||||||
while((line = input.readLine()) != null){
|
while((line = input.readLine()) != null){
|
||||||
if (line.startsWith("#") || line.isEmpty())
|
if (line.startsWith("#") || line.length() == 0)
|
||||||
continue;
|
continue;
|
||||||
String[] split = line.split("=");
|
String[] split = line.split("=");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user