Query Instantiation

In instantiating queries, do not use a null string, use an empty string. Declaring a query as Query q = new Query() is not as good as Query q = new Query q("").

The empty string query constructor could cause stability problems if the same users modify the same query at the same time. Also, in this case the temp query opens the query .finder, updates it with the new type, name, revision and vault information and then runs the query. If .finder happens to have a where clause specified, it is not cleared. As a result, the query might not return the MQL equivalent of temp query bus type name rev vault. Using the empty string also results in better performance since the query finder will not have to be written to the database.