mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
Merge branch 'master' into develop
# Conflicts: # main/ant-kit/pom.xml # main/commons/pom.xml # main/keychain/pom.xml # main/launcher/pom.xml # main/pom.xml # main/uber-jar/pom.xml # main/ui/pom.xml
This commit is contained in:
@@ -66,8 +66,8 @@ public class SecPasswordField extends PasswordField {
|
||||
}
|
||||
|
||||
private void growContentIfNeeded() {
|
||||
if (this.length > content.length) {
|
||||
char[] newContent = new char[content.length + GROW_BUFFER_SIZE];
|
||||
if (length > content.length) {
|
||||
char[] newContent = new char[length + GROW_BUFFER_SIZE];
|
||||
System.arraycopy(content, 0, newContent, 0, content.length);
|
||||
swipe();
|
||||
this.content = newContent;
|
||||
|
||||
Reference in New Issue
Block a user