donaldp 2002/11/07 15:45:11
Modified: fortress/src/test/org/apache/excalibur/fortress/util/test
ComponentTestCase.java
Log:
add a final specifier
Revision Changes Path
1.4 +8 -15
jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/util/test/ComponentTestCase.java
Index: ComponentTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/fortress/src/test/org/apache/excalibur/fortress/util/test/ComponentTestCase.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ComponentTestCase.java 7 Nov 2002 23:44:05 -0000 1.3
+++ ComponentTestCase.java 7 Nov 2002 23:45:11 -0000 1.4
@@ -65,8 +65,7 @@
public void testOutOfOrderInitialize()
throws Exception
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
component.contextualize( new DefaultContext() );
component.service( new DefaultServiceManager() );
@@ -85,8 +84,7 @@
public void testOutOfOrderDispose()
throws Exception
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
component.contextualize( new DefaultContext() );
component.service( new DefaultServiceManager() );
@@ -111,8 +109,7 @@
public void testDoubleAssignOfLogger()
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
try
{
component.enableLogging( new NullLogger() );
@@ -129,8 +126,7 @@
public void testDoubleAssignOfContext()
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
try
{
@@ -149,8 +145,7 @@
public void testDoubleAssignOfParameters()
throws Exception
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
component.contextualize( new DefaultContext() );
component.service( new DefaultServiceManager() );
@@ -172,8 +167,7 @@
public void testDoubleAssignOfConfiguration() throws Exception
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
component.contextualize( new DefaultContext() );
component.service( new DefaultServiceManager() );
@@ -194,8 +188,7 @@
public void testDoubleAssignOfComponentManger()
throws Exception
{
- FullLifecycleComponent component = new FullLifecycleComponent();
-
+ final FullLifecycleComponent component = new FullLifecycleComponent();
component.enableLogging( new NullLogger() );
component.contextualize( new DefaultContext() );
try
--
To unsubscribe, e-mail: <mailto:avalon-cvs-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@;jakarta.apache.org>