mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
core.model.GenericThingProvider.xtend: Remove compiler warning (#5426)
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ class GenericThingProvider extends AbstractProviderLazyNullness<Thing> implement
|
||||
return things
|
||||
}
|
||||
|
||||
def public Collection<Thing> getAllFromModel(String modelName) {
|
||||
def Collection<Thing> getAllFromModel(String modelName) {
|
||||
thingsMap.getOrDefault(modelName, List.of())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user