if (bustype >= conn.length || bustype < 0) throw new DBusException("Invalid Bus Specifier"); if (null != conn[bustype]) { synchronized (conn[bustype]._reflock) { conn[bustype]._refcount++; } return conn[bustype]; } else return (conn[bustype] = new DBusConnection(bustype));
DBusConnection c = conn.get(address); if (null != c) { synchronized (c._reflock) { c._refcount++; } return c; } else { c = new DBusConnection(address); conn.put(address, c); return c; }
   public static DBusConnection getConnection(int bustype) throws DBusException   {      synchronized (conn) {      if (bustype >= conn.length || bustype < 0) throw new DBusException("Invalid Bus Specifier");      if (null != conn[bustype]) {         synchronized (conn[bustype]._reflock) { conn[bustype]._refcount++; }         return conn[bustype];      }      else return (conn[bustype] = new DBusConnection(bustype));      }   }