Browse Source

REVERT

master
kerry 7 years ago
parent
commit
9a3ccfef6f
  1. 4
      designer-base/src/com/fr/design/actions/server/ConnectionListAction.java
  2. 4
      designer-base/src/com/fr/design/actions/server/GlobalTableDataAction.java

4
designer-base/src/com/fr/design/actions/server/ConnectionListAction.java

@ -68,9 +68,7 @@ public class ConnectionListAction extends UpdateAction {
} }
protected void renameConnection(String oldName, String newName) { protected void renameConnection(String oldName, String newName) {
if(datasourceManager.getConnection(oldName) != null){ datasourceManager.renameConnection(oldName, newName);
datasourceManager.renameConnection(oldName, newName);
}
} }
}; };
final BasicDialog databaseListDialog = databaseManagerPane.showLargeWindow(designerFrame, null); final BasicDialog databaseListDialog = databaseManagerPane.showLargeWindow(designerFrame, null);

4
designer-base/src/com/fr/design/actions/server/GlobalTableDataAction.java

@ -78,9 +78,7 @@ public class GlobalTableDataAction extends UpdateAction implements ResponseDataS
Configurations.update(new Worker() { Configurations.update(new Worker() {
@Override @Override
public void run() { public void run() {
if(tableDataConfig.getTableData(oldName) != null){ tableDataConfig.renameTableData(oldName, newName);
tableDataConfig.renameTableData(oldName, newName);
}
} }
@Override @Override

Loading…
Cancel
Save