Browse Source

REPORT-64012 改一行代码

feature/x
xiqiu 3 years ago
parent
commit
9820584c14
  1. 2
      designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java

2
designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java

@ -250,7 +250,7 @@ public class SshPane extends BasicPane {
@Override
public void keyReleased(KeyEvent e) {
String text = KeyFileUITextField.this.getTextOrigin();
if (text != null) {
if (!StringUtils.isEmpty(text)) {
if (text.contains(UPPER)) {
text = MUTI_DOT.matcher(text).replaceAll(".");
KeyFileUITextField.this.setTextOrigin(text);

Loading…
Cancel
Save