mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Remove unnecessary throws
This commit is contained in:
@@ -4745,7 +4745,7 @@ public class utils extends script.base_script
|
||||
{
|
||||
return getIntBatchScriptVar(target, base_path) != null;
|
||||
}
|
||||
public static int getIntConfigSetting(String section, String key) throws InterruptedException
|
||||
public static int getIntConfigSetting(String section, String key)
|
||||
{
|
||||
String setting = getConfigSetting(section, key);
|
||||
if (setting == null || setting.length() == 0)
|
||||
@@ -4761,7 +4761,7 @@ public class utils extends script.base_script
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
public static float getFloatConfigSetting(String section, String key) throws InterruptedException
|
||||
public static float getFloatConfigSetting(String section, String key)
|
||||
{
|
||||
String setting = getConfigSetting(section, key);
|
||||
if (setting == null || setting.length() == 0)
|
||||
@@ -4777,7 +4777,7 @@ public class utils extends script.base_script
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
public static boolean checkConfigFlag(String strSection, String strConfigSetting) throws InterruptedException
|
||||
public static boolean checkConfigFlag(String strSection, String strConfigSetting)
|
||||
{
|
||||
String strTest = toLower(getConfigSetting(strSection, strConfigSetting));
|
||||
return (strTest != null && (strTest.equals("true") || strTest.equals("1")));
|
||||
|
||||
Reference in New Issue
Block a user