Clover coverage report - clover
Coverage timestamp: Sat Oct 8 2005 22:54:17 EDT
file stats: LOC: 27   Methods: 2
NCLOC: 17   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
CelsiusConverterStrings.java - 0% 0% 0%
coverage
 1   
 package example;
 2   
 
 3   
 import java.util.MissingResourceException;
 4   
 import java.util.ResourceBundle;
 5   
 
 6   
 /**
 7   
  * @author tlroche
 8   
  * @version $Id: CelsiusConverterStrings.java,v 1.2 2004/12/31 04:49:48 tlroche Exp $
 9   
  */
 10   
 public class CelsiusConverterStrings {
 11   
     private static final String BUNDLE_NAME = "example.CelsiusConverter";//$NON-NLS-1$
 12   
 
 13   
     private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
 14   
             .getBundle(BUNDLE_NAME);
 15   
 
 16  0
     private CelsiusConverterStrings() {
 17   
     }
 18   
 
 19  0
     public static String getString(String key) {
 20  0
         try {
 21  0
             return RESOURCE_BUNDLE.getString(key);
 22   
         } catch (MissingResourceException e) {
 23  0
             return '!' + key + '!';
 24   
         }
 25   
     }
 26   
 }
 27