commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1571735 [3/3] - in /commons/proper/configuration/trunk/src: main/java/org/apache/commons/configuration/ main/java/org/apache/commons/configuration/beanutils/ main/java/org/apache/commons/configuration/builder/ main/java/org/apache/commons/...
Date Tue, 25 Feb 2014 16:37:55 GMT
Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestSubsetConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestSubsetConfiguration.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestSubsetConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestSubsetConfiguration.java
Tue Feb 25 16:37:52 2014
@@ -350,6 +350,7 @@ public class TestSubsetConfiguration
         ConfigurationInterpolator interpolator = config.getInterpolator();
         interpolator.registerLookup("brackets", new Lookup(){
 
+            @Override
             public String lookup(String key) {
                 return "(" + key +")";
             }

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/BeanDeclarationTestImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/BeanDeclarationTestImpl.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/BeanDeclarationTestImpl.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/BeanDeclarationTestImpl.java
Tue Feb 25 16:37:52 2014
@@ -41,6 +41,7 @@ class BeanDeclarationTestImpl implements
 
     private Collection<ConstructorArg> constructorArgs;
 
+    @Override
     public String getBeanClassName()
     {
         return beanClassName;
@@ -51,6 +52,7 @@ class BeanDeclarationTestImpl implements
         this.beanClassName = beanClassName;
     }
 
+    @Override
     public String getBeanFactoryName()
     {
         return beanFactoryName;
@@ -61,6 +63,7 @@ class BeanDeclarationTestImpl implements
         this.beanFactoryName = beanFactoryName;
     }
 
+    @Override
     public Object getBeanFactoryParameter()
     {
         return beanFactoryParameter;
@@ -71,6 +74,7 @@ class BeanDeclarationTestImpl implements
         this.beanFactoryParameter = beanFactoryParameter;
     }
 
+    @Override
     public Map<String, Object> getBeanProperties()
     {
         return beanProperties;
@@ -81,6 +85,7 @@ class BeanDeclarationTestImpl implements
         this.beanProperties = beanProperties;
     }
 
+    @Override
     public Map<String, Object> getNestedBeanDeclarations()
     {
         return nestedBeanDeclarations;
@@ -92,6 +97,7 @@ class BeanDeclarationTestImpl implements
         this.nestedBeanDeclarations = nestedBeanDeclarations;
     }
 
+    @Override
     public Collection<ConstructorArg> getConstructorArgs()
     {
         return constructorArgs;

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestBeanHelper.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestBeanHelper.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestBeanHelper.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestBeanHelper.java
Tue Feb 25 16:37:52 2014
@@ -523,6 +523,7 @@ public class TestBeanHelper
         /** A counter for the created instances. */
         private int createBeanCount;
 
+        @Override
         public Object createBean(BeanCreationContext bcc) throws Exception
         {
             createBeanCount++;
@@ -552,6 +553,7 @@ public class TestBeanHelper
          * Returns the default class, but only if the supportsDefaultClass flag
          * is set.
          */
+        @Override
         public Class<?> getDefaultBeanClass()
         {
             return supportsDefaultClass ? BeanCreationTestBean.class : null;

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestDefaultBeanFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestDefaultBeanFactory.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestDefaultBeanFactory.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/beanutils/TestDefaultBeanFactory.java
Tue Feb 25 16:37:52 2014
@@ -78,26 +78,31 @@ public class TestDefaultBeanFactory
         {
             private final BeanHelper beanHelper = new BeanHelper();
 
+            @Override
             public void initBean(Object bean, BeanDeclaration data)
             {
                 beanHelper.initBean(bean, data);
             }
 
+            @Override
             public Object getParameter()
             {
                 return null;
             }
 
+            @Override
             public BeanDeclaration getBeanDeclaration()
             {
                 return decl;
             }
 
+            @Override
             public Class<?> getBeanClass()
             {
                 return cls;
             }
 
+            @Override
             public Object createBean(BeanDeclaration data)
             {
                 return beanHelper.createBean(data);

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestBasicConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestBasicConfigurationBuilder.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestBasicConfigurationBuilder.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestBasicConfigurationBuilder.java
Tue Feb 25 16:37:52 2014
@@ -658,6 +658,7 @@ public class TestBasicConfigurationBuild
          * This tests whether the method is called after other properties have
          * been set.
          */
+        @Override
         public void initialize()
         {
             initProperty =

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestDefaultParametersManager.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestDefaultParametersManager.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestDefaultParametersManager.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/TestDefaultParametersManager.java
Tue Feb 25 16:37:52 2014
@@ -177,6 +177,7 @@ public class TestDefaultParametersManage
         manager.registerDefaultsHandler(XMLBuilderParameters.class,
                 new DefaultParametersHandler<XMLBuilderParameters>()
                 {
+                    @Override
                     public void initializeDefaults(
                             XMLBuilderParameters parameters)
                     {
@@ -259,6 +260,7 @@ public class TestDefaultParametersManage
     private static class FileBasedDefaultsHandler implements
             DefaultParametersHandler<FileBasedBuilderParameters>
     {
+        @Override
         public void initializeDefaults(FileBasedBuilderParameters parameters)
         {
             parameters.setThrowExceptionOnMissing(true)

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestCombinedConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestCombinedConfigurationBuilder.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestCombinedConfigurationBuilder.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestCombinedConfigurationBuilder.java
Tue Feb 25 16:37:52 2014
@@ -628,6 +628,7 @@ public class TestCombinedConfigurationBu
                                 attrs))).registerProvider(tagName,
                         new ConfigurationBuilderProvider()
                         {
+                            @Override
                             public ConfigurationBuilder<? extends Configuration> getConfigurationBuilder(
                                     ConfigurationDeclaration decl)
                                     throws ConfigurationException
@@ -1322,6 +1323,7 @@ public class TestCombinedConfigurationBu
             this.propertyKey = propertyKey;
         }
 
+        @Override
         public ConfigurationBuilder<? extends Configuration> getConfigurationBuilder(
                 ConfigurationDeclaration decl) throws ConfigurationException
         {
@@ -1444,6 +1446,7 @@ public class TestCombinedConfigurationBu
             map.put("test_key", "test.value");
         }
 
+        @Override
         public String lookup(String key)
         {
             return map.get(key);
@@ -1459,6 +1462,7 @@ public class TestCombinedConfigurationBu
         private final List<ConfigurationBuilder<? extends Configuration>> builders
=
                 new LinkedList<ConfigurationBuilder<? extends Configuration>>();
 
+        @Override
         public void builderReset(
                 ConfigurationBuilder<? extends Configuration> builder)
         {

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestReloadingCombinedConfigurationBuilderFileBased.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestReloadingCombinedConfigurationBuilderFileBased.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestReloadingCombinedConfigurationBuilderFileBased.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/combined/TestReloadingCombinedConfigurationBuilderFileBased.java
Tue Feb 25 16:37:52 2014
@@ -182,6 +182,7 @@ public class TestReloadingCombinedConfig
         ReloadingDetectorFactory detectorFactory =
                 new ReloadingDetectorFactory()
                 {
+                    @Override
                     public ReloadingDetector createReloadingDetector(
                             FileHandler handler,
                             FileBasedBuilderParametersImpl params)
@@ -235,6 +236,7 @@ public class TestReloadingCombinedConfig
         ReloadingDetectorFactory detectorFactory =
                 new ReloadingDetectorFactory()
                 {
+                    @Override
                     public ReloadingDetector createReloadingDetector(
                             FileHandler handler,
                             FileBasedBuilderParametersImpl params)

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/fluent/TestParameters.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/fluent/TestParameters.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/fluent/TestParameters.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/builder/fluent/TestParameters.java
Tue Feb 25 16:37:52 2014
@@ -375,6 +375,7 @@ public class TestParameters
                 .anyObject(BuilderParameters.class));
         EasyMock.expectLastCall().andAnswer(new IAnswer<Object>()
         {
+            @Override
             public Object answer() throws Throwable
             {
                 initializedParams.add(EasyMock.getCurrentArguments()[0]);

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/convert/TestDefaultListDelimiterHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/convert/TestDefaultListDelimiterHandler.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/convert/TestDefaultListDelimiterHandler.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/convert/TestDefaultListDelimiterHandler.java
Tue Feb 25 16:37:52 2014
@@ -106,6 +106,7 @@ public class TestDefaultListDelimiterHan
     {
         ValueTransformer trans = new ValueTransformer()
         {
+            @Override
             public Object transformValue(Object value)
             {
                 return String.valueOf(value) + "_trans";

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/ConfigurationListenerTestImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/ConfigurationListenerTestImpl.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/ConfigurationListenerTestImpl.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/ConfigurationListenerTestImpl.java
Tue Feb 25 16:37:52 2014
@@ -53,6 +53,7 @@ public class ConfigurationListenerTestIm
         events = new LinkedList<ConfigurationEvent>();
     }
 
+    @Override
     public void configurationChanged(ConfigurationEvent event)
     {
         events.add(event);

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestEventSource.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestEventSource.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestEventSource.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/event/TestEventSource.java
Tue Feb 25 16:37:52 2014
@@ -210,6 +210,7 @@ public class TestEventSource
     {
         ConfigurationListener lstRemove = new ConfigurationListener()
         {
+            @Override
             public void configurationChanged(ConfigurationEvent event)
             {
                 source.removeConfigurationListener(this);
@@ -350,12 +351,14 @@ public class TestEventSource
 
         int numberOfErrors;
 
+        @Override
         public void configurationChanged(ConfigurationEvent event)
         {
             lastEvent = event;
             numberOfCalls++;
         }
 
+        @Override
         public void configurationError(ConfigurationErrorEvent event)
         {
             lastEvent = event;

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/interpol/TestConfigurationInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/interpol/TestConfigurationInterpolator.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/interpol/TestConfigurationInterpolator.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/interpol/TestConfigurationInterpolator.java
Tue Feb 25 16:37:52 2014
@@ -83,6 +83,7 @@ public class TestConfigurationInterpolat
         EasyMock.expect(lookup.lookup(EasyMock.anyObject(String.class)))
                 .andAnswer(new IAnswer<Object>()
                 {
+                    @Override
                     public Object answer() throws Throwable
                     {
                         if (var.equals(EasyMock.getCurrentArguments()[0]))

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/io/TestFileHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/io/TestFileHandler.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/io/TestFileHandler.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/io/TestFileHandler.java
Tue Feb 25 16:37:52 2014
@@ -1541,11 +1541,13 @@ public class TestFileHandler
             this.content = content;
         }
 
+        @Override
         public void read(Reader in) throws ConfigurationException, IOException
         {
             content = readReader(in);
         }
 
+        @Override
         public void write(Writer out) throws ConfigurationException,
                 IOException
         {
@@ -1561,6 +1563,7 @@ public class TestFileHandler
     private static class FileBasedInputStreamSupportTestImpl extends
             FileBasedTestImpl implements InputStreamSupport
     {
+        @Override
         public void read(InputStream in) throws ConfigurationException,
                 IOException
         {
@@ -1595,6 +1598,7 @@ public class TestFileHandler
             return locator;
         }
 
+        @Override
         public void initFileLocator(FileLocator loc)
         {
             this.locator = loc;

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/AlwaysReloadingDetector.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/AlwaysReloadingDetector.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/AlwaysReloadingDetector.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/AlwaysReloadingDetector.java
Tue Feb 25 16:37:52 2014
@@ -27,6 +27,7 @@ public class AlwaysReloadingDetector imp
     /**
      * {@inheritDoc} This implementation always returns <b>true</b>.
      */
+    @Override
     public boolean isReloadingRequired()
     {
         return true;
@@ -35,6 +36,7 @@ public class AlwaysReloadingDetector imp
     /**
      * Empty dummy implementation of this interface method.
      */
+    @Override
     public void reloadingPerformed()
     {
     }

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/RandomReloadingDetector.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/RandomReloadingDetector.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/RandomReloadingDetector.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/RandomReloadingDetector.java
Tue Feb 25 16:37:52 2014
@@ -29,11 +29,13 @@ public class RandomReloadingDetector imp
     /** The random object.*/
     private final Random random = new Random();
 
+    @Override
     public boolean isReloadingRequired()
     {
         return random.nextBoolean();
     }
 
+    @Override
     public void reloadingPerformed()
     {
     }

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestPeriodicReloadingTrigger.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestPeriodicReloadingTrigger.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestPeriodicReloadingTrigger.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestPeriodicReloadingTrigger.java
Tue Feb 25 16:37:52 2014
@@ -139,6 +139,7 @@ public class TestPeriodicReloadingTrigge
         EasyMock.expectLastCall().andAnswer(
                 new IAnswer<ScheduledFuture<Void>>()
                 {
+                    @Override
                     public ScheduledFuture<Void> answer() throws Throwable
                     {
                         refTask.setValue((Runnable) EasyMock

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestReloadingController.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestReloadingController.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestReloadingController.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/reloading/TestReloadingController.java
Tue Feb 25 16:37:52 2014
@@ -85,6 +85,7 @@ public class TestReloadingController
         l.reloadingRequired(EasyMock.anyObject(ReloadingEvent.class));
         EasyMock.expectLastCall().andAnswer(new IAnswer<Object>()
         {
+            @Override
             public Object answer() throws Throwable
             {
                 evRef.setValue((ReloadingEvent) EasyMock.getCurrentArguments()[0]);

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/tree/TestDefaultConfigurationNode.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/tree/TestDefaultConfigurationNode.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/tree/TestDefaultConfigurationNode.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/tree/TestDefaultConfigurationNode.java
Tue Feb 25 16:37:52 2014
@@ -488,16 +488,19 @@ public class TestDefaultConfigurationNod
             maxCalls = maxNumberOfVisits;
         }
 
+        @Override
         public void visitBeforeChildren(ConfigurationNode node)
         {
             beforeCalls++;
         }
 
+        @Override
         public void visitAfterChildren(ConfigurationNode node)
         {
             afterCalls++;
         }
 
+        @Override
         public boolean terminate()
         {
             return beforeCalls >= maxCalls;

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/web/TestServletFilterConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/web/TestServletFilterConfiguration.java?rev=1571735&r1=1571734&r2=1571735&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/web/TestServletFilterConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/web/TestServletFilterConfiguration.java
Tue Feb 25 16:37:52 2014
@@ -60,21 +60,25 @@ public class TestServletFilterConfigurat
     {
         private Properties parameters = new Properties();
 
+        @Override
         public String getFilterName()
         {
             return null;
         }
 
+        @Override
         public ServletContext getServletContext()
         {
             return null;
         }
 
+        @Override
         public String getInitParameter(String key)
         {
             return parameters.getProperty(key);
         }
 
+        @Override
         public Enumeration<?> getInitParameterNames()
         {
             return parameters.keys();



Mime
View raw message