AutoOutAPKUi.java的文本输入默认做移除首尾空格处理
This commit is contained in:
parent
74768e4f2c
commit
96826b23da
@ -44,7 +44,7 @@ public class AutoOutAPKAddChannelUi {
|
||||
Map<String,String> map=new HashMap<>();
|
||||
map.put("NAME",name);
|
||||
for (JTextField textField : list) {
|
||||
map.put(textField.getName(),textField.getText());
|
||||
map.put(textField.getName().trim(),textField.getText().trim());
|
||||
}
|
||||
inter.onOut(map);
|
||||
AutoOutAPKAddChannelUi.this.frame.dispose();
|
||||
|
@ -84,10 +84,10 @@ public class AutoOutAPKUi {
|
||||
start.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
String gid = gameId.getText();
|
||||
String jid = jiguang.getText();
|
||||
String pid = packageName.getText();
|
||||
String path = appPath.getText();
|
||||
String gid = gameId.getText().trim();
|
||||
String jid = jiguang.getText().trim();
|
||||
String pid = packageName.getText().trim();
|
||||
String path = appPath.getText().trim();
|
||||
if (StringUtils.isEmpty(gid) || StringUtils.isEmpty(pid) || StringUtils.isEmpty(path)) {
|
||||
new TextToDialog("警告", "有参数未填写");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user