Clover Coverage Report - Atlassian Core
Coverage timestamp: Sun Nov 30 2008 18:33:35 CST
5   39   4   1.25
0   24   0.8   4
4     1  
1    
 
 
  DatedLoggingEvent       Line # 13 5 4 55.6% 0.5555556
 
  (5)
 
1    /*
2    * Created by IntelliJ IDEA.
3    * User: Mike
4    * Date: Jun 8, 2004
5    * Time: 4:52:14 PM
6    */
7    package com.atlassian.core.logging;
8   
9    import org.apache.log4j.spi.LoggingEvent;
10   
11    import java.util.Date;
12   
 
13    public class DatedLoggingEvent
14    {
15    private final long timeInMillis;
16    private final LoggingEvent event;
17   
 
18  209 toggle public DatedLoggingEvent(long timeInMillis, LoggingEvent event)
19    {
20  209 this.timeInMillis = timeInMillis;
21   
22  209 this.event = event;
23    }
24   
 
25  3 toggle public LoggingEvent getEvent()
26    {
27  3 return event;
28    }
29   
 
30  0 toggle public long getTimeInMillis()
31    {
32  0 return timeInMillis;
33    }
34   
 
35  0 toggle public Date getDate()
36    {
37  0 return new Date(timeInMillis);
38    }
39    }