JSR305 is not used anywhere, remove it from dependencies.
Change-Id: Ia8129823dc2ac78d967ca23a2502e799d5148d31
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
<name>ODL :: genius :: ${project.artifactId}</name>
<dependencies>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <optional>true</optional>
- </dependency>
<dependency>
<groupId>org.opendaylight.genius</groupId>
<artifactId>alivenessmonitor-api</artifactId>
<artifactId>blueprint-maven-plugin-annotation</artifactId>
<optional>true</optional>
</dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <optional>true</optional>
- </dependency>
<!-- Testing Dependencies -->
<dependency>
<artifactId>blueprint-maven-plugin-annotation</artifactId>
<optional>true</optional>
</dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <optional>true</optional>
- </dependency>
<!-- for infrautils metrics APIs -->
<dependency>
<groupId>org.opendaylight.infrautils</groupId>
<groupId>org.opendaylight.genius</groupId>
<artifactId>idmanager-api</artifactId>
</dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <optional>true</optional>
- </dependency>
<!-- Testing Dependencies -->
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
import java.util.Objects;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
-import javax.annotation.Nonnull;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
return collection == null || collection.isEmpty();
}
- @Nonnull
- public static HwVtep createHwVtepObject(String topoId, String nodeId, IpAddress ipAddress,
- Class<? extends TunnelTypeBase> tunneltype, TransportZone transportZone) {
+ public static @NonNull HwVtep createHwVtepObject(String topoId, String nodeId, IpAddress ipAddress,
+ Class<? extends TunnelTypeBase> tunneltype,
+ TransportZone transportZone) {
HwVtep hwVtep = new HwVtep();
hwVtep.setHwIp(ipAddress);
hwVtep.setNodeId(nodeId);
<artifactId>blueprint-maven-plugin-annotation</artifactId>
<optional>true</optional>
</dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <optional>true</optional>
- </dependency>
<!-- Testing Dependencies -->
<dependency>
<groupId>org.opendaylight.genius</groupId>