File tree Expand file tree Collapse file tree
plugins/api/discovery/src/main/java/org/apache/cloudstack/discovery Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020import java .util .ArrayList ;
2121import java .util .HashMap ;
2222import java .util .HashSet ;
23+ import java .util .LinkedHashSet ;
2324import java .util .List ;
2425import java .util .Map ;
2526import java .util .Set ;
@@ -67,7 +68,7 @@ public boolean start() {
6768 if (s_apiNameDiscoveryResponseMap == null ) {
6869 long startTime = System .nanoTime ();
6970 s_apiNameDiscoveryResponseMap = new HashMap <String , ApiDiscoveryResponse >();
70- Set <Class <?>> cmdClasses = new HashSet <Class <?>>();
71+ Set <Class <?>> cmdClasses = new LinkedHashSet <Class <?>>();
7172 for (PluggableService service : _services ) {
7273 s_logger .debug (String .format ("getting api commands of service: %s" , service .getClass ().getName ()));
7374 cmdClasses .addAll (service .getCommands ());
You can’t perform that action at this time.
0 commit comments