Coverage Report - org.openpermis.examples.simple.BasicHelloWorldService
 
Classes in this File Line Coverage Branch Coverage Complexity
BasicHelloWorldService
100%
2/2
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.examples.simple;
 11  
 
 12  
 
 13  
 /**
 14  
  * A really simple implementation of the HelloWorld service.
 15  
  * @since 0.1.0
 16  
  */
 17  3
 public class BasicHelloWorldService
 18  
         implements HelloWorldService
 19  
 {
 20  
 
 21  
         //---- HelloWorldService
 22  
         
 23  
         /**
 24  
          * @since 0.1.0
 25  
          */
 26  
         public String getHelloMessage (String name) {
 27  3
                 return "Hello " + name + "!";
 28  
         }
 29  
 
 30  
 }