Skip to content

Commit

Permalink
comment-restart
Browse files Browse the repository at this point in the history
  • Loading branch information
silverailscolo committed May 13, 2018
1 parent 5e074a8 commit 8f5d60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/jmri/jmrit/beantable/BlockTableAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -987,13 +987,13 @@ void okPressed(ActionEvent e) {
}
}
String user = userName.getText();
String uName = user; // result stored separately to prevent recursive manipulation
String uName = user; // keep result separate to prevent recursive manipulation
user = NamedBean.normalizeUserName(user);
if (user == null || user.length() == 0) {
user = null;
}
String system = sysName.getText();
String sName = system; // result stored separately to prevent recursive manipulation
String sName = system; // keep result separate to prevent recursive manipulation
sName = InstanceManager.getDefault(BlockManager.class).normalizeSystemName(sName);
// initial check for empty entry using the raw name
if (sName.length() < 3 && !_autoSystemName.isSelected()) { // Using 3 to catch a plain IB
Expand Down

0 comments on commit 8f5d60b

Please sign in to comment.