onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r1606434 - in /onami/trunk: autobind/core/src/main/java/org/apache/onami/autobind/install/ autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/ autobind/examples/src/main/java/org/apache/onami/autobind/integrations/exampl...
Date Sun, 29 Jun 2014 06:34:06 GMT
Author: ash2k
Date: Sun Jun 29 06:34:05 2014
New Revision: 1606434

URL: http://svn.apache.org/r1606434
Log:
Add missing @Override

Modified:
    onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/install/BindingTracer.java
    onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/MultiBindingScannerFeature.java
    onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/automodule/ExampleImpl.java
    onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/jndi/ExampleImpl.java
    onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceContextListener.java
    onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceManagedFeature.java
    onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/ASMClasspathScanner.java
    onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/AnnotationCollector.java
    onami/trunk/converters/net/src/test/java/org/apache/onami/converters/net/URLConverterTestCase.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/AbstractMethodTypeListener.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/DefaultStager.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleStageModule.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageHandler.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageableTypeMapper.java
    onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/StageableMethod.java
    onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/DefaultStagerTestCase.java
    onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/StagingOrderTestCase.java
    onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
    onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
    onami/trunk/lifecycle/warmup/src/main/java/org/apache/onami/lifecycle/warmup/WarmUper.java
    onami/trunk/lifecycle/warmup/src/test/java/org/apachi/onami/lifecycle/warmup/TestWarmUpManager.java
    onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/SimpleMultiplePuTest.java
    onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/TransactionalMultiplePuTest.java
    onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java
    onami/trunk/test/src/main/java/org/apache/onami/test/OnamiSuite.java
    onami/trunk/test/src/test/java/org/apache/onami/test/InjectJSR330ModuleClassTestCase.java
    onami/trunk/test/src/test/java/org/apache/onami/test/InjectModuleClassTestCase.java

Modified: onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/install/BindingTracer.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/install/BindingTracer.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/install/BindingTracer.java
(original)
+++ onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/install/BindingTracer.java
Sun Jun 29 06:34:05 2014
@@ -42,6 +42,7 @@ public class BindingTracer
         return jobs.contains( o );
     }
 
+    @Override
     public Iterator<BindingJob> iterator()
     {
         return jobs.iterator();

Modified: onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/MultiBindingScannerFeature.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/MultiBindingScannerFeature.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/MultiBindingScannerFeature.java
(original)
+++ onami/trunk/autobind/core/src/main/java/org/apache/onami/autobind/scanner/features/MultiBindingScannerFeature.java
Sun Jun 29 06:34:05 2014
@@ -35,6 +35,7 @@ public abstract class MultiBindingScanne
     extends BindingScannerFeature
 {
 
+    @Override
     protected <T, V extends T> void bindInstance( V impl, Class<T> interf, Annotation
annotation,
                                                   Class<? extends Annotation> scope
)
     {
@@ -54,6 +55,7 @@ public abstract class MultiBindingScanne
         }
     }
 
+    @Override
     protected void bindConstant( String value, Annotation annotation )
     {
         Multibinder<String> builder;
@@ -64,6 +66,7 @@ public abstract class MultiBindingScanne
         }
     }
 
+    @Override
     protected <T, V extends T> void bind( Class<V> impl, Class<T> interf,
Annotation annotation,
                                           Class<? extends Annotation> scope )
     {

Modified: onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/automodule/ExampleImpl.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/automodule/ExampleImpl.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/automodule/ExampleImpl.java
(original)
+++ onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/automodule/ExampleImpl.java
Sun Jun 29 06:34:05 2014
@@ -30,7 +30,8 @@ import org.apache.onami.autobind.scanner
  * 
  */
 public class ExampleImpl implements Example {
-	@PostConstruct
+	@Override
+    @PostConstruct
 	public void inform() {
 		System.out.println("inform about post construction!");
 	}

Modified: onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/jndi/ExampleImpl.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/jndi/ExampleImpl.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/jndi/ExampleImpl.java
(original)
+++ onami/trunk/autobind/examples/src/main/java/org/apache/onami/autobind/integrations/example/guicy/jndi/ExampleImpl.java
Sun Jun 29 06:34:05 2014
@@ -30,7 +30,8 @@ import org.apache.onami.autobind.scanner
  * 
  */
 public class ExampleImpl implements Example {
-	@PostConstruct
+	@Override
+    @PostConstruct
 	public void inform() {
 		System.out.println("inform about post construction!");
 	}

Modified: onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceContextListener.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceContextListener.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceContextListener.java
(original)
+++ onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceContextListener.java
Sun Jun 29 06:34:05 2014
@@ -37,11 +37,13 @@ public abstract class GuiceContextListen
 		delegate.attributeReplaced(event);
 	}
 
-	public void contextDestroyed(ServletContextEvent event) {
+	@Override
+    public void contextDestroyed(ServletContextEvent event) {
 		delegate.contextDestroyed(event);
 	}
 
-	public void contextInitialized(ServletContextEvent event) {
+	@Override
+    public void contextInitialized(ServletContextEvent event) {
 		AutomaticGuiceManager.inject(getModule());
 		delegate.contextInitialized(event);
 	}

Modified: onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceManagedFeature.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceManagedFeature.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceManagedFeature.java
(original)
+++ onami/trunk/autobind/integrations/metro/src/main/java/org/apache/onami/autobind/integrations/metro/GuiceManagedFeature.java
Sun Jun 29 06:34:05 2014
@@ -30,7 +30,8 @@ public class GuiceManagedFeature extends
 		this.enabled = true;
 	}
 
-	public String getID() {
+	@Override
+    public String getID() {
 		return ID;
 	}
 }

Modified: onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/ASMClasspathScanner.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/ASMClasspathScanner.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/ASMClasspathScanner.java
(original)
+++ onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/ASMClasspathScanner.java
Sun Jun 29 06:34:05 2014
@@ -180,6 +180,7 @@ public class ASMClasspathScanner
         // TODO Could use Predicate of Google
     }
 
+    @Override
     public void scan()
         throws IOException
     {
@@ -301,6 +302,7 @@ public class ASMClasspathScanner
         destroy();
     }
 
+    @Override
     public void destroy()
     {
         classPath = null;

Modified: onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/AnnotationCollector.java
URL: http://svn.apache.org/viewvc/onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/AnnotationCollector.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/AnnotationCollector.java
(original)
+++ onami/trunk/autobind/scanner/asm/src/main/java/org/apache/onami/autobind/scanner/asm/AnnotationCollector.java
Sun Jun 29 06:34:05 2014
@@ -100,6 +100,7 @@ final class AnnotationCollector
         }
     }
 
+    @Override
     @SuppressWarnings( "unchecked" )
     public AnnotationVisitor visitAnnotation( String sig, boolean visible )
     {

Modified: onami/trunk/converters/net/src/test/java/org/apache/onami/converters/net/URLConverterTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/converters/net/src/test/java/org/apache/onami/converters/net/URLConverterTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/converters/net/src/test/java/org/apache/onami/converters/net/URLConverterTestCase.java
(original)
+++ onami/trunk/converters/net/src/test/java/org/apache/onami/converters/net/URLConverterTestCase.java
Sun Jun 29 06:34:05 2014
@@ -47,6 +47,7 @@ public final class URLConverterTestCase
     {
         return combine( new URLConverter(), new AbstractModule()
         {
+            @Override
             protected void configure()
             {
                 bindConstant().annotatedWith( named( "classpathResource" ) ).to( "classpath:///test.properties"
);

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/AbstractMethodTypeListener.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/AbstractMethodTypeListener.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/AbstractMethodTypeListener.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/AbstractMethodTypeListener.java
Sun Jun 29 06:34:05 2014
@@ -57,6 +57,7 @@ abstract class AbstractMethodTypeListene
     /**
      * {@inheritDoc}
      */
+    @Override
     public final <I> void hear( TypeLiteral<I> type, TypeEncounter<I> encounter
)
     {
         hear( type, type.getRawType(), encounter );

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/DefaultStager.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/DefaultStager.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/DefaultStager.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/DefaultStager.java
Sun Jun 29 06:34:05 2014
@@ -82,6 +82,7 @@ public class DefaultStager<A extends Ann
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( Stageable stageable )
     {
         synchronized ( stageables )
@@ -113,6 +114,7 @@ public class DefaultStager<A extends Ann
     /**
      * {@inheritDoc}
      */
+    @Override
     public void stage()
     {
         stage( null );
@@ -121,6 +123,7 @@ public class DefaultStager<A extends Ann
     /**
      * {@inheritDoc}
      */
+    @Override
     public void stage( StageHandler stageHandler )
     {
         if ( stageHandler == null )
@@ -146,6 +149,7 @@ public class DefaultStager<A extends Ann
     /**
      * {@inheritDoc}
      */
+    @Override
     public Class<A> getStage()
     {
         return stage;

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleModule.java
Sun Jun 29 06:34:05 2014
@@ -81,6 +81,7 @@ public abstract class LifeCycleModule
                 encounter.register( new InjectionListener<I>()
                 {
 
+                    @Override
                     public void afterInjection( I injectee )
                     {
                         try

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleStageModule.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleStageModule.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleStageModule.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/LifeCycleStageModule.java
Sun Jun 29 06:34:05 2014
@@ -114,6 +114,7 @@ public abstract class LifeCycleStageModu
                 encounter.register( new InjectionListener<I>()
                 {
 
+                    @Override
                     public void afterInjection( I injectee )
                     {
                         Stageable stageable = new StageableMethod( stageMethod, injectee
);

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageHandler.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageHandler.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageHandler.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageHandler.java
Sun Jun 29 06:34:05 2014
@@ -29,6 +29,7 @@ public final class NoOpStageHandler
     /**
      * {@inheritDoc}
      */
+    @Override
     public <I, E extends Throwable> void onError( I injectee, E error )
     {
         // do nothing
@@ -37,6 +38,7 @@ public final class NoOpStageHandler
     /**
      * {@inheritDoc}
      */
+    @Override
     public <I> void onSuccess( I injectee )
     {
         // do nothing

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageableTypeMapper.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageableTypeMapper.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageableTypeMapper.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/NoOpStageableTypeMapper.java
Sun Jun 29 06:34:05 2014
@@ -25,6 +25,7 @@ class NoOpStageableTypeMapper
     implements StageableTypeMapper
 {
 
+    @Override
     public <I> void registerType( Stageable stageable, TypeLiteral<I> parentType
)
     {
         // NOP

Modified: onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/StageableMethod.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/StageableMethod.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/StageableMethod.java
(original)
+++ onami/trunk/lifecycle/core/src/main/java/org/apache/onami/lifecycle/core/StageableMethod.java
Sun Jun 29 06:34:05 2014
@@ -50,6 +50,7 @@ final class StageableMethod
     /**
      * {@inheritDoc}
      */
+    @Override
     public final void stage( StageHandler stageHandler )
     {
         try

Modified: onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/DefaultStagerTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/DefaultStagerTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/DefaultStagerTestCase.java
(original)
+++ onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/DefaultStagerTestCase.java
Sun Jun 29 06:34:05 2014
@@ -35,10 +35,12 @@ public class DefaultStagerTestCase
         final AtomicBoolean staged = new AtomicBoolean();
         stager.register( new Stageable()
         {
+            @Override
             public void stage( StageHandler stageHandler )
             {
                 stager.register( new Stageable()
                 {
+                    @Override
                     public void stage( StageHandler stageHandler )
                     {
                         staged.set( true );
@@ -66,14 +68,17 @@ public class DefaultStagerTestCase
                 new DefaultStager<TestAnnotationA>( TestAnnotationA.class );
         stager.register( new Stageable()
         {
+            @Override
             public void stage( StageHandler stageHandler )
             {
                 Thread thread = new Thread( new Runnable()
                 {
+                    @Override
                     public void run()
                     {
                         stager.register( new Stageable()
                         {
+                            @Override
                             public void stage( StageHandler stageHandler )
                             {
                                 staged.set( true );

Modified: onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/StagingOrderTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/StagingOrderTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/StagingOrderTestCase.java
(original)
+++ onami/trunk/lifecycle/core/src/test/java/org/apache/onami/lifecycle/core/StagingOrderTestCase.java
Sun Jun 29 06:34:05 2014
@@ -52,6 +52,7 @@ public class StagingOrderTestCase
     {
         Stageable stageable1 = new Stageable()
         {
+            @Override
             public void stage( StageHandler stageHandler )
             {
                 order.add( 1 );
@@ -59,6 +60,7 @@ public class StagingOrderTestCase
         };
         Stageable stageable2 = new Stageable()
         {
+            @Override
             public void stage( StageHandler stageHandler )
             {
                 order.add( 2 );
@@ -66,6 +68,7 @@ public class StagingOrderTestCase
         };
         Stageable stageable3 = new Stageable()
         {
+            @Override
             public void stage( StageHandler stageHandler )
             {
                 order.add( 3 );

Modified: onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
(original)
+++ onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeModuleTestCase.java
Sun Jun 29 06:34:05 2014
@@ -67,12 +67,14 @@ public final class DisposeModuleTestCase
             disposeModule.getStager().stage( new StageHandler()
             {
 
+                @Override
                 public <I> void onSuccess( I injectee )
                 {
                     assertTrue( injectee instanceof DisposableObject );
                     assertTrue( ( (DisposableObject) injectee ).disposed );
                 }
 
+                @Override
                 public <I, E extends Throwable> void onError( I injectee, E error )
                 {
                     fail( error.toString() );
@@ -117,12 +119,14 @@ public final class DisposeModuleTestCase
             disposeModule.getStager().stage( new StageHandler()
             {
 
+                @Override
                 public <I> void onSuccess( I injectee )
                 {
                     assertTrue( injectee instanceof ExecutorService );
                     assertTrue( ( (ExecutorService) injectee ).isShutdown() );
                 }
 
+                @Override
                 public <I, E extends Throwable> void onError( I injectee, E error )
                 {
                     fail( error.toString() );

Modified: onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
(original)
+++ onami/trunk/lifecycle/standard/src/test/java/org/apache/onami/lifecycle/standard/DisposeTestCase.java
Sun Jun 29 06:34:05 2014
@@ -88,11 +88,13 @@ public final class DisposeTestCase
         } ).getInstance( Key.get( new TypeLiteral<Stager<Dispose>>() {} ) ).stage(
new StageHandler()
         {
 
+            @Override
             public <I> void onSuccess( I injectee )
             {
                 fail();
             }
 
+            @Override
             public <I, E extends Throwable> void onError( I injectee, E error )
             {
                 assertTrue( injectee instanceof ThrowingExceptionDisposeMethod );

Modified: onami/trunk/lifecycle/warmup/src/main/java/org/apache/onami/lifecycle/warmup/WarmUper.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/warmup/src/main/java/org/apache/onami/lifecycle/warmup/WarmUper.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/warmup/src/main/java/org/apache/onami/lifecycle/warmup/WarmUper.java
(original)
+++ onami/trunk/lifecycle/warmup/src/main/java/org/apache/onami/lifecycle/warmup/WarmUper.java
Sun Jun 29 06:34:05 2014
@@ -81,6 +81,7 @@ public class WarmUper<A extends Annotati
     /**
      * {@inheritDoc}
      */
+    @Override
     public <I> void registerType( Stageable stageable, TypeLiteral<I> parentType
)
     {
         Set<Stageable> newList = Collections.newSetFromMap( new ConcurrentHashMap<Stageable,
Boolean>() );
@@ -93,6 +94,7 @@ public class WarmUper<A extends Annotati
     /**
      * {@inheritDoc}
      */
+    @Override
     public void register( Stageable stageable )
     {
         // this is a NOP for warm up. Use registerType instead
@@ -101,6 +103,7 @@ public class WarmUper<A extends Annotati
     /**
      * {@inheritDoc}
      */
+    @Override
     public void stage()
     {
         stage( new NoOpStageHandler() );
@@ -109,6 +112,7 @@ public class WarmUper<A extends Annotati
     /**
      * {@inheritDoc}
      */
+    @Override
     public void stage( StageHandler stageHandler )
     {
         Map<TypeLiteral<?>, Set<Stageable>> localCopy = new HashMap<TypeLiteral<?>,
Set<Stageable>>();
@@ -145,6 +149,7 @@ public class WarmUper<A extends Annotati
     /**
      * {@inheritDoc}
      */
+    @Override
     public Class<A> getStage()
     {
         return stage;

Modified: onami/trunk/lifecycle/warmup/src/test/java/org/apachi/onami/lifecycle/warmup/TestWarmUpManager.java
URL: http://svn.apache.org/viewvc/onami/trunk/lifecycle/warmup/src/test/java/org/apachi/onami/lifecycle/warmup/TestWarmUpManager.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/lifecycle/warmup/src/test/java/org/apachi/onami/lifecycle/warmup/TestWarmUpManager.java
(original)
+++ onami/trunk/lifecycle/warmup/src/test/java/org/apachi/onami/lifecycle/warmup/TestWarmUpManager.java
Sun Jun 29 06:34:05 2014
@@ -64,10 +64,12 @@ public class TestWarmUpManager
         final AtomicInteger errorCount = new AtomicInteger( 0 );
         StageHandler stageHandler = new StageHandler()
         {
+            @Override
             public <I> void onSuccess( I injectee )
             {
             }
 
+            @Override
             public <I, E extends Throwable> void onError( I injectee, E error )
             {
                 errorCount.incrementAndGet();

Modified: onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/SimpleMultiplePuTest.java
URL: http://svn.apache.org/viewvc/onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/SimpleMultiplePuTest.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/SimpleMultiplePuTest.java
(original)
+++ onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/SimpleMultiplePuTest.java
Sun Jun 29 06:34:05 2014
@@ -31,6 +31,7 @@ public class SimpleMultiplePuTest
     extends BaseMultiplePuTest
 {
 
+    @Override
     @Before
     public void setUp()
     {
@@ -38,6 +39,7 @@ public class SimpleMultiplePuTest
         beginUnitOfWork();
     }
 
+    @Override
     @After
     public void tearDown()
         throws Exception

Modified: onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/TransactionalMultiplePuTest.java
URL: http://svn.apache.org/viewvc/onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/TransactionalMultiplePuTest.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/TransactionalMultiplePuTest.java
(original)
+++ onami/trunk/persist/src/test/java/org/apache/onami/persist/test/multipersistenceunits/TransactionalMultiplePuTest.java
Sun Jun 29 06:34:05 2014
@@ -37,6 +37,7 @@ public class TransactionalMultiplePuTest
 
     private TestEntity secondEntity;
 
+    @Override
     @Before
     public void setUp()
     {

Modified: onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java
URL: http://svn.apache.org/viewvc/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java (original)
+++ onami/trunk/test/src/main/java/org/apache/onami/test/OnamiRunner.java Sun Jun 29 06:34:05
2014
@@ -209,6 +209,7 @@ public class OnamiRunner
     /**
      * {@inheritDoc}
      */
+    @Override
     public void run( final RunNotifier notifier )
     {
         if ( LOGGER.isLoggable( Level.FINER ) )

Modified: onami/trunk/test/src/main/java/org/apache/onami/test/OnamiSuite.java
URL: http://svn.apache.org/viewvc/onami/trunk/test/src/main/java/org/apache/onami/test/OnamiSuite.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/test/src/main/java/org/apache/onami/test/OnamiSuite.java (original)
+++ onami/trunk/test/src/main/java/org/apache/onami/test/OnamiSuite.java Sun Jun 29 06:34:05
2014
@@ -195,6 +195,7 @@ public class OnamiSuite
     /**
      * {@inheritDoc}
      */
+    @Override
     public void run( final RunNotifier notifier )
     {
         if ( LOGGER.isLoggable( Level.FINER ) )

Modified: onami/trunk/test/src/test/java/org/apache/onami/test/InjectJSR330ModuleClassTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/test/src/test/java/org/apache/onami/test/InjectJSR330ModuleClassTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/test/src/test/java/org/apache/onami/test/InjectJSR330ModuleClassTestCase.java
(original)
+++ onami/trunk/test/src/test/java/org/apache/onami/test/InjectJSR330ModuleClassTestCase.java
Sun Jun 29 06:34:05 2014
@@ -35,6 +35,7 @@ public class InjectJSR330ModuleClassTest
     extends AbstractModule
 {
 
+    @Override
     public void configure()
     {
         bind( Integer.class ).annotatedWith( Names.named( "numeber.version" ) ).toInstance(
10 );

Modified: onami/trunk/test/src/test/java/org/apache/onami/test/InjectModuleClassTestCase.java
URL: http://svn.apache.org/viewvc/onami/trunk/test/src/test/java/org/apache/onami/test/InjectModuleClassTestCase.java?rev=1606434&r1=1606433&r2=1606434&view=diff
==============================================================================
--- onami/trunk/test/src/test/java/org/apache/onami/test/InjectModuleClassTestCase.java (original)
+++ onami/trunk/test/src/test/java/org/apache/onami/test/InjectModuleClassTestCase.java Sun
Jun 29 06:34:05 2014
@@ -34,6 +34,7 @@ public class InjectModuleClassTestCase
     extends AbstractModule
 {
 
+    @Override
     public void configure()
     {
         bind( Integer.class ).annotatedWith( Names.named( "numeber.version" ) ).toInstance(
10 );



Mime
View raw message