updated coding rules.
[utils] / support / spring / src / test / java / org / wamblee / test / spring / TestSpringBeanFactory.java
index a7cc6fe6b63dcf7f1e3cf14f8e08197091b01057..d604e166d598e330d3bf95af93f7d27f5ef0d391 100644 (file)
@@ -27,10 +27,10 @@ import org.wamblee.general.BeanFactoryException;
  */
 public class TestSpringBeanFactory implements BeanFactory {
     
-    private ApplicationContext _context; 
+    private ApplicationContext context; 
     
     public TestSpringBeanFactory(ApplicationContext aContext) {
-        _context = aContext; 
+        context = aContext; 
     }
 
     /* (non-Javadoc)
@@ -52,7 +52,7 @@ public class TestSpringBeanFactory implements BeanFactory {
      */
     public <T> T find(String aId, Class<T> aClass) {
         try {
-            Object obj = _context.getBean(aId, aClass);
+            Object obj = context.getBean(aId, aClass);
             assert obj != null; 
             return aClass.cast(obj); 
         } catch (BeansException e) {