commit | 793134b3427b3b3c0fbe98b5faf5736ede6c183d | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Thu Jun 04 16:06:24 2015 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Thu Jun 04 16:06:27 2015 -0700 |
tree | 70ff0c6651a71b17b9b8e7d7fd4c18930be6b9a2 | |
parent | 08c306628fc942bda7005078c94969075908725c [diff] |
Reverting IntentIdCompleter change from Gerrit #3909 commit id: 0d17c3135ed771fe1d146d2dd9ca7ae57e2a8238 Change-Id: If640a649135e405ba4258c5364c96822b49ec245
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java b/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java index 52dfdc2..fd96c38 100644 --- a/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java +++ b/cli/src/main/java/org/onosproject/cli/net/IntentIdCompleter.java
@@ -39,7 +39,7 @@ Iterator<Intent> it = service.getIntents().iterator(); SortedSet<String> strings = delegate.getStrings(); while (it.hasNext()) { - strings.add(it.next().id().toString()); + strings.add(it.next().key().toString()); } // Now let the completer do the work for figuring out what to offer.