Skip to content

Commit

Permalink
dbeaver#17614 Don't assume underscore as character(s) to replace with…
Browse files Browse the repository at this point in the history
… underscore in data transfer file name (dbeaver#18961)
  • Loading branch information
E1izabeth authored Feb 8, 2023
1 parent 240c9c7 commit 7fd0b3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ private static String stripObjectName(String name) {
if (Character.isLetterOrDigit(c)) {
result.append(c);
lastUnd = false;
} else if (!lastUnd) {
} else if (c == '_' || !lastUnd) {
result.append('_');
lastUnd = true;
}
Expand Down

0 comments on commit 7fd0b3b

Please sign in to comment.