Browse Source

Merge pull request #878 in BA/design from ~XIAOXIA/design:9.0 to 9.0

* commit 'c7d016b7f458a2c75d2e29ca231c9e0a76d5beb8':
  final language level
master
superman 8 years ago
parent
commit
60f29431b7
  1. 4
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java
  2. 2
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java

4
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()) {

2
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) {

Loading…
Cancel
Save