[infrastructure] add external null-annotations (#8848)

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
J-N-K
2020-10-31 00:29:03 +01:00
committed by GitHub
parent 47d05055db
commit bd664ff0c8
162 changed files with 933 additions and 575 deletions

View File

@@ -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);
}

View File

@@ -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>