From faf2af7a215d100ed6374ceb2828be13cf221515 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Wed, 10 Jul 2024 17:51:58 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-126694=20=E9=A2=84=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E4=BF=9D=E5=AD=98=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/actions/server/FunctionManagerAction.java | 3 +-- .../com/fr/design/actions/server/ProcedureListAction.java | 4 +--- .../main/java/com/fr/design/module/ChartPreStyleListPane.java | 2 +- .../fr/design/actions/server/ServerConfigManagerAction.java | 3 +-- .../java/com/fr/design/actions/server/StyleListAction.java | 3 +-- .../com/fr/design/actions/server/WidgetManagerAction.java | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/actions/server/FunctionManagerAction.java b/designer-base/src/main/java/com/fr/design/actions/server/FunctionManagerAction.java index d7f1cdbb7a..c31ff61525 100644 --- a/designer-base/src/main/java/com/fr/design/actions/server/FunctionManagerAction.java +++ b/designer-base/src/main/java/com/fr/design/actions/server/FunctionManagerAction.java @@ -59,8 +59,7 @@ public class FunctionManagerAction extends UpdateAction { } }); - FunctionConfig mirror = functionManager.mirror(); - functionManagerPane.populate(mirror); + functionManagerPane.populate(functionManager); functionManagerDialog.setVisible(true); } diff --git a/designer-base/src/main/java/com/fr/design/actions/server/ProcedureListAction.java b/designer-base/src/main/java/com/fr/design/actions/server/ProcedureListAction.java index 9989182d48..905e84e253 100644 --- a/designer-base/src/main/java/com/fr/design/actions/server/ProcedureListAction.java +++ b/designer-base/src/main/java/com/fr/design/actions/server/ProcedureListAction.java @@ -36,9 +36,7 @@ public class ProcedureListAction extends UpdateAction { final ProcedureConfig procedureConfig = ProcedureConfig.getInstance(); final ProcedureManagerPane databaseManagerPane = new ProcedureManagerPane() { public void complete() { - - ProcedureConfig mirror = procedureConfig.mirror(); - populate(mirror); + populate(procedureConfig); } }; BasicDialog databaseListDialog = databaseManagerPane.showLargeWindow(designerFrame, null); diff --git a/designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java b/designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java index 99d048a811..06b3eb5028 100644 --- a/designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java +++ b/designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java @@ -111,7 +111,7 @@ public class ChartPreStyleListPane extends JListControlPane { } public void populateBean() { - ChartPreStyleConfig config = ChartPreStyleConfig.getInstance().mirror(); + ChartPreStyleConfig config = ChartPreStyleConfig.getInstance(); ArrayList list = new ArrayList(); Iterator keys = config.names(); diff --git a/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java b/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java index 26eb81cbc4..8d1ebec6c6 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/server/ServerConfigManagerAction.java @@ -49,8 +49,7 @@ public class ServerConfigManagerAction extends UpdateAction { @Override public void complete() { - ServerPreferenceConfig mirror = config.mirror(); - populate(mirror); + populate(config); } }; diff --git a/designer-realize/src/main/java/com/fr/design/actions/server/StyleListAction.java b/designer-realize/src/main/java/com/fr/design/actions/server/StyleListAction.java index cc5f7a1b55..727e18341e 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/server/StyleListAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/server/StyleListAction.java @@ -61,8 +61,7 @@ public class StyleListAction extends UpdateAction { } }); - ServerPreferenceConfig mirror = ServerPreferenceConfig.getInstance().mirror(); - styleListPane.populate(mirror); + styleListPane.populate(ServerPreferenceConfig.getInstance()); styleListDialog.setVisible(true); } diff --git a/designer-realize/src/main/java/com/fr/design/actions/server/WidgetManagerAction.java b/designer-realize/src/main/java/com/fr/design/actions/server/WidgetManagerAction.java index d04dc76975..c7a3bc7e13 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/server/WidgetManagerAction.java +++ b/designer-realize/src/main/java/com/fr/design/actions/server/WidgetManagerAction.java @@ -39,8 +39,7 @@ public class WidgetManagerAction extends UpdateAction { final WidgetManagerPane widgetManagerPane = new WidgetManagerPane() { @Override public void complete() { - WidgetInfoConfig mirror = widgetManager.mirror(); - populate(mirror); + populate(widgetManager); } };