Revision 9324
Added by Jing Tao over 9 years ago
src/edu/ucsb/nceas/metacat/EventLog.java | ||
---|---|---|
581 | 581 |
|
582 | 582 |
String logEventString = rs.getString(6); |
583 | 583 |
if(logEventString == null) { |
584 |
continue;
|
|
584 |
logEventString = "unknown";
|
|
585 | 585 |
} |
586 | 586 |
logEntry.setEvent(logEventString); |
587 | 587 |
logEntry.setDateLogged(rs.getTimestamp(7)); |
Also available in: Unified diff
In the getLog method, if the event is null, we will set it unknown.