checkRepository(repositories[i]);
checkRepository(repository);
    private void checkRepositories() throws IOException {        // check if any files have been created/removed since last time we checked...        for (int i = 0; i < repositories.length; i++) {            if (repositories[i].lastModified() > modified[i]) {                modified[i] = repositories[i].lastModified();                checkRepository(repositories[i]);            }        }        // loop through prototypes and check if type.properties needs updates        // it's important that we do this _after_ potentially new prototypes        // have been created in the previous loop.        for (Iterator i = prototypes.values().iterator(); i.hasNext();) {            Prototype proto = (Prototype) i.next();            // update prototype's type mapping            DbMapping dbmap = proto.getDbMapping();            if ((dbmap != null) && dbmap.needsUpdate()) {                // call dbmap.update(). This also checks the                // parent prototype for prototypes other than                // global and HopObject, which is a bit awkward...                // I mean we're the type manager, so this should                // be part of our job, right?                proto.props.update();                dbmap.update();            }        }    }