CmsFile file=null;
int projectId;
ResultSet res =null;
try {
if (project.equals(onlineProject)) {
<BUG>synchronized(m_statementFileReadOnline) {
m_statementFileReadOnline.setString(1,absoluteName(filename));
m_statementFileReadOnline.setInt(2,onlineProject.getId());
res = m_statementFileReadOnline.executeQuery();
if(res.next()) {</BUG>
file = new CmsFile(filename,

CmsFile file=null;
int projectId;
ResultSet res =null;
try {
if (project.equals(onlineProject)) {
PreparedStatement statementFileReadOnline=m_Con.prepareStatement(C_FILE_READ_ONLINE);
statementFileReadOnline.setString(1,absoluteName(filename));
statementFileReadOnline.setInt(2,onlineProject.getId());
res = statementFileReadOnline.executeQuery();
if(res.next()) {
file = new CmsFile(filename,
