commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1125930 - /incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java
Date Sun, 22 May 2011 11:54:19 GMT
Author: simonetripodi
Date: Sun May 22 11:54:19 2011
New Revision: 1125930

URL: http://svn.apache.org/viewvc?rev=1125930&view=rev
Log:
added missing @Override annotations

Modified:
    incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java

Modified: incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java
URL: http://svn.apache.org/viewvc/incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java?rev=1125930&r1=1125929&r2=1125930&view=diff
==============================================================================
--- incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java
(original)
+++ incubator/ognl/trunk/src/test/java/org/apache/commons/ognl/test/objects/BeanProviderAccessor.java
Sun May 22 11:54:19 2011
@@ -39,6 +39,7 @@ public class BeanProviderAccessor
     extends ObjectPropertyAccessor
     implements PropertyAccessor
 {
+    @Override
     public Object getProperty( Map context, Object target, Object name )
         throws OgnlException
     {
@@ -52,6 +53,7 @@ public class BeanProviderAccessor
      * Returns true if the name matches a bean provided by the provider. Otherwise invokes
the super implementation.
      **/
 
+    @Override
     public boolean hasGetProperty( Map context, Object target, Object oname )
         throws OgnlException
     {
@@ -61,6 +63,7 @@ public class BeanProviderAccessor
         return provider.getBean( beanName ) != null;
     }
 
+    @Override
     public String getSourceAccessor( OgnlContext context, Object target, Object name )
     {
         BeanProvider provider = (BeanProvider) target;
@@ -82,6 +85,7 @@ public class BeanProviderAccessor
         return super.getSourceAccessor( context, target, name );
     }
 
+    @Override
     public String getSourceSetter( OgnlContext context, Object target, Object name )
     {
         throw new UnsupportedCompilationException( "Can't set beans on BeanProvider." );



Mime
View raw message