From 57f656c7d399fceea2b9d16cb5904e72d237add1 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Fri, 12 May 2017 16:36:55 +0800 Subject: [PATCH] final language level --- .../design/mainframe/alphafine/component/AlphaFineDialog.java | 4 ++-- .../mainframe/alphafine/component/AlphaFineTextField.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java index dbdc63aa57..4f3899c599 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java +++ b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java @@ -280,9 +280,9 @@ public class AlphaFineDialog extends UIDialog { }); } - private void showResult(int index, Object selectedValue) { + private void showResult(int index, final Object selectedValue) { if (selectedValue instanceof FileModel) { - String fileName = ((FileModel) selectedValue).getFilePath().substring(ProjectConstants.REPORTLETS_NAME.length() + 1); + final String fileName = ((FileModel) selectedValue).getFilePath().substring(ProjectConstants.REPORTLETS_NAME.length() + 1); showDefaultPreviewPane(); if (fileName.endsWith("frm")) { if (this.searchWorker != null && !this.searchWorker.isDone()) { diff --git a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java index 715d3ccb68..a1ef67df53 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java +++ b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java @@ -66,7 +66,7 @@ public class AlphaFineTextField extends UITextField { * 添加键盘监听器 * @param component */ - public void initKeyListener(Component component) { + public void initKeyListener(final Component component) { addKeyListener(new KeyAdapter() { @Override public void keyReleased(KeyEvent e) {