From d32809bed6093daff2649fb83b06ad98511ebb7f Mon Sep 17 00:00:00 2001 From: Toshio Koide Date: Thu, 9 Oct 2014 10:58:54 -0700 Subject: [PATCH] Fix javadoc on IntentStore and add newline at the end of the intent package-info. --- .../src/main/java/org/onlab/onos/net/intent/IntentStore.java | 5 +++-- .../main/java/org/onlab/onos/net/intent/package-info.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/api/src/main/java/org/onlab/onos/net/intent/IntentStore.java b/core/api/src/main/java/org/onlab/onos/net/intent/IntentStore.java index fc023bb756..d693c9b891 100644 --- a/core/api/src/main/java/org/onlab/onos/net/intent/IntentStore.java +++ b/core/api/src/main/java/org/onlab/onos/net/intent/IntentStore.java @@ -33,6 +33,8 @@ public interface IntentStore extends Store { /** * Returns the number of intents in the store. + * + * @return the number of intents in the store */ long getIntentCount(); @@ -44,7 +46,7 @@ public interface IntentStore extends Store { Iterable getIntents(); /** - * Returns the intent with the specified identifer. + * Returns the intent with the specified identifier. * * @param intentId intent identification * @return intent or null if not found @@ -94,7 +96,6 @@ public interface IntentStore extends Store { * specified original intent. * * @param intentId original intent identifier - * @return compiled state transition event */ void removeInstalledIntents(IntentId intentId); diff --git a/core/api/src/main/java/org/onlab/onos/net/intent/package-info.java b/core/api/src/main/java/org/onlab/onos/net/intent/package-info.java index ff97f5becf..3e5e46fdcf 100644 --- a/core/api/src/main/java/org/onlab/onos/net/intent/package-info.java +++ b/core/api/src/main/java/org/onlab/onos/net/intent/package-info.java @@ -53,4 +53,4 @@ * while the system determines where to perform the compilation or while it * performs global recomputation/optimization across all prior intents. */ -package org.onlab.onos.net.intent; \ No newline at end of file +package org.onlab.onos.net.intent;