mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
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:
+1
-1
@@ -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() {
|
||||
|
||||
+1
-1
@@ -498,7 +498,7 @@ public class BindingBaseClassesOSGiTest extends JavaOSGiTest {
|
||||
public @Nullable Thing getThing() {
|
||||
return thing;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Test
|
||||
public void assertThingCanBeUpdatedFromThingHandler() {
|
||||
|
||||
+7
-7
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user