Clover Coverage Report - Atlassian Trusted Apps(Aggregated)
Coverage timestamp: Tue Jun 9 2009 19:34:44 CDT
3   22   4   1
2   19   1.33   1.5
3     1.33  
2    
 
 
  Null       Line # 3 2 3 83.3% 0.8333333
  Null.NullArgumentException       Line # 15 1 1 100% 1.0
 
  (107)
 
1    package com.atlassian.security.auth.trustedapps;
2   
 
3    public class Null
4    {
 
5  869 toggle public static void not(String name, Object notNull) /* sheepishly */ throws IllegalArgumentException
6    {
7  869 if (notNull == null)
8    {
9  21 throw new NullArgumentException(name);
10    }
11    }
12   
 
13  0 toggle private Null() {}
14   
 
15    static class NullArgumentException extends IllegalArgumentException
16    {
 
17  21 toggle NullArgumentException(String name)
18    {
19  21 super(name + " should not be null!");
20    }
21    }
22    }