Merge upstream

This commit is contained in:
NotMyFault 2021-03-13 10:59:17 +01:00
parent 6476345e44
commit bc64eaff1c
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ public final class SuggestionHelper {
if (type == null) {
return Stream.empty();
}
if (!props.toLowerCase(Locale.ROOT).equals(props)) {
return Stream.empty();
}
final Map<String, ? extends Property<?>> propertyMap = type.getPropertyMap();
Set<String> matchedProperties = new HashSet<>();
String[] propParts = props.split(",", -1);