} else if (file.getState() == C_STATE_DELETED) {
deleteFile(file);
resources.addElement(file.getAbsolutePath());
}
}
<BUG>synchronized (m_statementProjectReadFolders) {
m_statementProjectReadFolders.setInt(1,project.getId());
m_statementProjectReadFolders.setInt(2,C_TYPE_FOLDER);
res=m_statementProjectReadFolders.executeQuery();
}</BUG>
while ( res.next() ) {

} else if (file.getState() == C_STATE_DELETED) {
deleteFile(file);
resources.addElement(file.getAbsolutePath());
}
}
PreparedStatement statementProjectReadFolders=m_Con.prepareStatement(C_PROJECT_READ_FOLDER);
statementProjectReadFolders.setInt(1,project.getId());
statementProjectReadFolders.setInt(2,C_TYPE_FOLDER);
res=statementProjectReadFolders.executeQuery();
while ( res.next() ) {
