Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -126,8 +126,8 @@ public class PowermaxCommandExtension extends AbstractConsoleCommandExtension im
|
||||
return new StringsCompleter(thingRegistry.getAll().stream()
|
||||
.filter(t -> PowermaxBindingConstants.BRIDGE_TYPE_SERIAL.equals(t.getThingTypeUID())
|
||||
|| PowermaxBindingConstants.BRIDGE_TYPE_IP.equals(t.getThingTypeUID()))
|
||||
.map(t -> t.getUID().getAsString()).collect(Collectors.toList()), true).complete(args,
|
||||
cursorArgumentIndex, cursorPosition, candidates);
|
||||
.map(t -> t.getUID().getAsString()).collect(Collectors.toList()), true)
|
||||
.complete(args, cursorArgumentIndex, cursorPosition, candidates);
|
||||
} else if (cursorArgumentIndex == 1) {
|
||||
Thing thing = getThing(args[0]);
|
||||
if (thing != null && (PowermaxBindingConstants.BRIDGE_TYPE_SERIAL.equals(thing.getThingTypeUID())
|
||||
|
||||
Reference in New Issue
Block a user