Fix javadoc typos

Change-Id: Ia1872060512df5e501503ba773a66690efd5b99b
diff --git a/core/api/src/main/java/org/onosproject/net/intent/ConnectivityIntent.java b/core/api/src/main/java/org/onosproject/net/intent/ConnectivityIntent.java
index b82fe56..50f639c 100644
--- a/core/api/src/main/java/org/onosproject/net/intent/ConnectivityIntent.java
+++ b/core/api/src/main/java/org/onosproject/net/intent/ConnectivityIntent.java
@@ -55,7 +55,7 @@
      * @param resources required network resources (optional)
      * @param selector  traffic selector
      * @param treatment treatment
-     * @throws NullPointerException if the selector or treatement is null
+     * @throws NullPointerException if the selector or treatment is null
      */
     protected ConnectivityIntent(ApplicationId appId,
                                  Collection<NetworkResource> resources,
@@ -76,7 +76,7 @@
      * @param selector    traffic selector
      * @param treatment   treatment
      * @param constraints optional prioritized list of constraints
-     * @throws NullPointerException if the selector or treatement is null
+     * @throws NullPointerException if the selector or treatment is null
      */
     protected ConnectivityIntent(ApplicationId appId,
                                  Collection<NetworkResource> resources,