mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 13:47:46 +02:00
Code refactors
- Refactor LauncherFactory.LauncherProvider to LauncherFactory - Refactor all launcher related components to launcher package - some basic code cleanup - Rename all, allSafe -> getList and first, firstSafe -> getString - Rename Utils -> LegacyUtils Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
@ -53,6 +53,8 @@
|
||||
package org.prismlauncher;
|
||||
|
||||
import org.prismlauncher.exception.ParseException;
|
||||
import org.prismlauncher.launcher.Launcher;
|
||||
import org.prismlauncher.launcher.LauncherFactory;
|
||||
import org.prismlauncher.utils.Parameters;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
@ -81,7 +83,7 @@ public final class EntryPoint {
|
||||
}
|
||||
|
||||
private Action parseLine(String inData) throws ParseException {
|
||||
if (inData.length() == 0)
|
||||
if (inData.isEmpty())
|
||||
throw new ParseException("Unexpected empty string!");
|
||||
|
||||
String first = inData;
|
||||
|
Reference in New Issue
Block a user