Clover coverage report - PicoContainer - 1.0
Coverage timestamp: Sat Jun 5 2004 21:34:14 EDT
file stats: LOC: 29   Methods: 2
NCLOC: 11   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
SimpleReference.java - 100% 100% 100%
coverage
 1   
 /*****************************************************************************
 2   
  * Copyright (C) PicoContainer Organization. All rights reserved.            *
 3   
  * ------------------------------------------------------------------------- *
 4   
  * The software in this package is published under the terms of the BSD      *
 5   
  * style license a copy of which has been included with this distribution in *
 6   
  * the LICENSE.txt file.                                                     *
 7   
  *                                                                           *
 8   
  * Original code by                                                          *
 9   
  *****************************************************************************/
 10   
 package org.picocontainer.defaults;
 11   
 
 12   
 import java.io.Serializable;
 13   
 
 14   
 /**
 15   
  * @author Aslak Hellesøy
 16   
  * @version $Revision: 1.2 $
 17   
  */
 18   
 public class SimpleReference implements ObjectReference, Serializable {
 19   
     private Object instance;
 20   
 
 21  566
     public Object get() {
 22  566
         return instance;
 23   
     }
 24   
 
 25  150
     public void set(Object item) {
 26  150
         this.instance = item;
 27   
     }
 28   
 }
 29