/** @return the currently saved configured CollabNet url */
 public static String getCollabNetUrl() {
   CollabNetApp conn = CNConnection.getInstance();
   if (conn == null) {
     return null;
   }
   return conn.getServerUrl();
 }
 /**
  * @param url for the CollabNet server.
  * @return the CollabNet version number.
  */
 public static VersionNumber getVersion(String url) {
   if (url == null) {
     return null;
   }
   String version;
   try {
     version = CollabNetApp.getApiVersion(url);
   } catch (RemoteException re) {
     log.info("getVersion: failed with RemoteException: " + re.getMessage());
     return null;
   }
   try {
     return new VersionNumber(version);
   } catch (IllegalArgumentException iae) {
     log.severe(
         "getVersion: unexpected error when attempting to "
             + "parse CollabNet version: "
             + iae.getMessage());
     return null;
   }
 }