[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -211,7 +211,7 @@ public abstract class AbstractModbusOSGiTest extends JavaOSGiTest {
|
||||
addedLinks.add(link);
|
||||
}
|
||||
|
||||
protected List<State> getStateUpdates(String itemName) {
|
||||
protected @Nullable List<State> getStateUpdates(String itemName) {
|
||||
return stateSubscriber.stateUpdates.get(itemName);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
<module>org.openhab.persistence.mapdb.tests</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<m2e.jdt.annotationpath>target/dependency</m2e.jdt.annotationpath>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.openhab.core.bom</groupId>
|
||||
@@ -72,6 +76,29 @@
|
||||
<groupId>biz.aQute.bnd</groupId>
|
||||
<artifactId>bnd-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-eea</id>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.lastnpe.eea</groupId>
|
||||
<artifactId>eea-all</artifactId>
|
||||
<version>2.1.0</version>
|
||||
<overWrite>true</overWrite>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user