Remove unnecessary semicolons (#4009)

This helps with stopping the proliferation of unnecessary semicolons.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2024-01-03 13:47:23 +01:00
committed by GitHub
parent d162b82206
commit 106c8b2270
15 changed files with 28 additions and 28 deletions
@@ -126,7 +126,7 @@ public class GenericThingProviderTest4 extends JavaOSGiTest {
return new BaseThingHandler(thing) {
@Override
public void handleCommand(ChannelUID arg0, Command arg1) {
};
}
@Override
public void initialize() {
@@ -498,7 +498,7 @@ public class BindingBaseClassesOSGiTest extends JavaOSGiTest {
public @Nullable Thing getThing() {
return thing;
}
};
}
@Test
public void assertThingCanBeUpdatedFromThingHandler() {
@@ -434,7 +434,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
@Override
public void childHandlerInitialized(ThingHandler childHandler, Thing childThing) {
assertDoesNotThrow(() -> childHandlerInitializedSemaphore.acquire());
};
}
});
registerThingHandlerFactory(THING_TYPE_UID, thing -> new BaseThingHandler(thing) {
@Override
@@ -453,7 +453,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
public void thingUpdated(Thing thing) {
this.thing = thing;
assertDoesNotThrow(() -> thingUpdatedSemapthore.acquire());
};
}
});
Bridge bridge = BridgeBuilder.create(BRIDGE_TYPE_UID, BRIDGE_UID).build();
@@ -502,7 +502,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
@Override
public void childHandlerInitialized(ThingHandler childHandler, Thing childThing) {
assertDoesNotThrow(() -> childHandlerInitializedSemaphore.acquire());
};
}
});
registerThingHandlerFactory(THING_TYPE_UID, thing -> new BaseThingHandler(thing) {
@@ -522,7 +522,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
public void thingUpdated(Thing thing) {
this.thing = thing;
assertDoesNotThrow(() -> thingUpdatedSemapthore.acquire());
};
}
});
Bridge bridge = BridgeBuilder.create(BRIDGE_TYPE_UID, BRIDGE_UID).build();
@@ -571,7 +571,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
@Override
public void childHandlerInitialized(ThingHandler childHandler, Thing childThing) {
assertDoesNotThrow(() -> childHandlerInitializedSemaphore.acquire());
};
}
});
registerThingHandlerFactory(THING_TYPE_UID, thing -> new BaseThingHandler(thing) {
@Override
@@ -587,7 +587,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
public void thingUpdated(Thing thing) {
this.thing = thing;
assertDoesNotThrow(() -> thingUpdatedSemapthore.acquire());
};
}
});
Bridge bridge = BridgeBuilder.create(BRIDGE_TYPE_UID, BRIDGE_UID).build();
@@ -1115,7 +1115,7 @@ public class ThingManagerOSGiJavaTest extends JavaOSGiTest {
protected @Nullable ThingHandler createHandler(Thing thing) {
return thingHandlerProducer.apply(thing);
}
};
}
private AtomicReference<ThingHandlerCallback> initializeThingHandlerCallback() throws Exception {
AtomicReference<ThingHandlerCallback> thc = new AtomicReference<>();