X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fspring%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fspring%2FHelloService.java;h=c3e623ce0792afadf16a95e3c96f5841daab022e;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=cfa5bae60069d8b0cc2842033ad324e39a21869e;hpb=a503959a4290a415cfe6f668a301e44b4dcde445;p=utils diff --git a/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java b/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java index cfa5bae6..c3e623ce 100644 --- a/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java +++ b/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java @@ -1,5 +1,5 @@ /* - * Copyright 2007 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,16 +15,24 @@ */ package org.wamblee.system.spring; +/** + * + * @author $author$ + * @version $Revision$ + */ public class HelloService { - - private String _msg; - - public HelloService(String aMsg) { - SpringComponentTest.EVENT_TRACKER.eventOccurred(aMsg); - _msg = aMsg; - } - - public String say() { - return _msg; - } + private String msg; + + /** + * Creates a new HelloService object. + * + */ + public HelloService(String aMsg) { + SpringComponentTest.getEventTracker().eventOccurred(aMsg); + msg = aMsg; + } + + public String say() { + return msg; + } }