mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
one more switch expression
This commit is contained in:
@@ -74,12 +74,10 @@ public class SecurePasswordField extends TextField {
|
||||
}
|
||||
|
||||
public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) {
|
||||
switch(attribute) {
|
||||
case TEXT:
|
||||
return null;
|
||||
default:
|
||||
return super.queryAccessibleAttribute(attribute, parameters);
|
||||
}
|
||||
return switch (attribute) {
|
||||
case TEXT -> null;
|
||||
default -> super.queryAccessibleAttribute(attribute, parameters);
|
||||
};
|
||||
}
|
||||
|
||||
private void handleDragOver(DragEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user