mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-11-10 06:26:43 +08:00
chore: clean up
This commit is contained in:
parent
654b13e150
commit
be7e17665f
@ -150,12 +150,6 @@ public class Context {
|
||||
return LANGUAGE_RESOURCE_FACTORY.getResourceBundleProperty();
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化 语言
|
||||
*/
|
||||
private static void initI18n() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 有此类所在路径决定相对路径
|
||||
*
|
||||
@ -183,7 +177,6 @@ public class Context {
|
||||
private static void loadScene() {
|
||||
try {
|
||||
FXMLLoader loader = FxmlUtil.load("root-view");
|
||||
loader.setControllerFactory(Context.getControlFactory());
|
||||
//底层面板
|
||||
Pane root = loader.load();
|
||||
Optional.ofNullable(scene).ifPresentOrElse(
|
||||
|
@ -25,7 +25,7 @@ public class FxmlUtil {
|
||||
FxmlUtil.class.getResource(prefix + name + suffix),
|
||||
bundle,
|
||||
new JavaFXBuilderFactory(),
|
||||
null,
|
||||
Context.getControlFactory(),
|
||||
StandardCharsets.UTF_8
|
||||
);
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ public class Registry {
|
||||
RESTORE,
|
||||
SAVE,
|
||||
UNLOAD,
|
||||
;
|
||||
}
|
||||
|
||||
public enum Root {
|
||||
@ -75,6 +74,5 @@ public class Registry {
|
||||
REG_LINK,
|
||||
REG_FULL_RESOURCE_DESCRIPTOR,
|
||||
REG_EXPAND_SZ,
|
||||
;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user