Fix maven build problems with inband telemetry app
Change-Id: Ic1716a0a80e0d639c44864f2fb0e0bdce22fdf76
diff --git a/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java b/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
index 21d5381..37e1e29 100644
--- a/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
+++ b/apps/inbandtelemetry/api/src/main/java/org/onosproject/inbandtelemetry/api/IntIntent.java
@@ -286,7 +286,7 @@
checkArgument(!selector.criteria().isEmpty(), "Empty selector cannot match any flow.");
checkArgument(!metadataTypes.isEmpty(), "Metadata types cannot be empty.");
checkNotNull(headerType, "Header type cannot be null.");
- checkNotNull(!reportTypes.isEmpty(), "Report types cannot be empty.");
+ checkArgument(!reportTypes.isEmpty(), "Report types cannot be empty.");
checkNotNull(telemetryMode, "Telemetry mode cannot be null.");
return new IntIntent(selector, metadataTypes, headerType, reportTypes, telemetryMode);