for (int i = monitoredProperties.indexOfObject(updatedFilePath); 0 <= i  &&  i < _monitoredProperties.count(); i++) {
for (int i = firstDirtyFile; i < _monitoredProperties.count(); i++) {
    private void _updateSystemPropertiesFromMonitoredProperties(File updatedFile, NSArray monitoredProperties) {        if (monitoredProperties == null  ||  monitoredProperties.count() == 0)  return;                String updatedFilePath = null;        try {            updatedFilePath = updatedFile.getCanonicalPath();        } catch (IOException ex) {            log.error(ex.toString());            return;         }        Properties systemProperties = System.getProperties();        // Find the position of the updatedFile in the monitoredProperties list,         // then reload it and everything after it on the list.         for (int i = monitoredProperties.indexOfObject(updatedFilePath);                   0 <= i  &&  i < _monitoredProperties.count(); i++) {            String monitoredPropertiesPath = (String) _monitoredProperties.objectAtIndex(i);            Properties loadedProperty = ERXProperties.propertiesFromPath(monitoredPropertiesPath);            ERXProperties.transferPropertiesFromSourceToDest(loadedProperty, systemProperties);            ERXSystem.updateProperties();        }    }