| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e77ce47 commit af1e2ee
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -129,8 +129,8 @@ public void componentHidden(ComponentEvent e) { | |||
| 129 | 129 | final String newName = textField.getText().trim(); | |
| 130 | 130 | if (!newName.isEmpty()) { | |
| 131 | 131 | if (newName.length() >= 1 && | |
| 132 | - newName.chars().limit(1).allMatch(Character::isUnicodeIdentifierStart) && | ||
| 133 | - newName.chars().skip(1).allMatch(Character::isUnicodeIdentifierPart)) { | ||
| 132 | + newName.chars().limit(1).allMatch(Character::isJavaIdentifierStart) && | ||
| 133 | + newName.chars().skip(1).allMatch(Character::isJavaIdentifierPart)) { | ||
| 134 | 134 | rename(ps, binding, newName); | |
| 135 | 135 | window.setVisible(false); | |
| 136 | 136 | } else { | |
@@ -332,4 +332,4 @@ void dispose() { | |||
| 332 | 332 | window.dispose(); | |
| 333 | 333 | } | |
| 334 | 334 | } | |
| 335 | - } | ||
| 335 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments