Project

General

Profile

« Previous | Next » 

Revision 5210

Adding missing brackets in else clause. Need to verify with Daigle that this is what he meant.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
2409 2409
                                doAction, null, user, groups);
2410 2410
                        EventLog.getInstance().log(request.getRemoteAddr(),
2411 2411
                                user, "", action[0]);
2412
                    } else
2412
                    } else {
2413 2413
	                    newdocid = documentWrapper.write(dbConn, doctext[0], pub, dtd,
2414 2414
	                            doAction, accNumber, user, groups);
2415 2415
	                            
2416 2416
	                    EventLog.getInstance().log(request.getRemoteAddr(),
2417 2417
	                            user, accNumber, action[0]);
2418
                    }
2418 2419
                } finally {
2419 2420
                    // Return db connection
2420 2421
                    DBConnectionPool.returnDBConnection(dbConn, serialNumber);

Also available in: Unified diff