commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1728023 - in /commons/proper/email/trunk/src/main/java/org/apache/commons/mail: ./ resolver/
Date Mon, 01 Feb 2016 23:30:23 GMT
Author: ggregory
Date: Mon Feb  1 23:30:23 2016
New Revision: 1728023

URL: http://svn.apache.org/viewvc?rev=1728023&view=rev
Log:
Add missing '@Override' annotations.

Modified:
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/ByteArrayDataSource.java
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceClassPathResolver.java
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceCompositeResolver.java
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceFileResolver.java
    commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/ByteArrayDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/ByteArrayDataSource.java?rev=1728023&r1=1728022&r2=1728023&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/ByteArrayDataSource.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/ByteArrayDataSource.java
Mon Feb  1 23:30:23 2016
@@ -191,6 +191,7 @@ public class ByteArrayDataSource impleme
      * @return A String.
      * @since 1.0
      */
+    @Override
     public String getContentType()
     {
         return type == null ? "application/octet-stream" : type;
@@ -203,6 +204,7 @@ public class ByteArrayDataSource impleme
      * @throws IOException IOException
      * @since 1.0
      */
+    @Override
     public InputStream getInputStream() throws IOException
     {
         if (baos == null)
@@ -229,6 +231,7 @@ public class ByteArrayDataSource impleme
      * @return A String.
      * @since 1.0
      */
+    @Override
     public String getName()
     {
         return name;
@@ -240,6 +243,7 @@ public class ByteArrayDataSource impleme
      * @return  An OutputStream
      * @since 1.0
      */
+    @Override
     public OutputStream getOutputStream()
     {
         baos = new ByteArrayOutputStream();

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceClassPathResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceClassPathResolver.java?rev=1728023&r1=1728022&r2=1728023&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceClassPathResolver.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceClassPathResolver.java
Mon Feb  1 23:30:23 2016
@@ -73,12 +73,14 @@ public class DataSourceClassPathResolver
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation) throws IOException
     {
         return resolve(resourceLocation, isLenient());
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation, final boolean isLenient) throws
IOException
     {
         DataSource result = null;

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceCompositeResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceCompositeResolver.java?rev=1728023&r1=1728022&r2=1728023&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceCompositeResolver.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceCompositeResolver.java
Mon Feb  1 23:30:23 2016
@@ -71,6 +71,7 @@ public class DataSourceCompositeResolver
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation) throws IOException
     {
         final DataSource result = resolve(resourceLocation, true);
@@ -84,6 +85,7 @@ public class DataSourceCompositeResolver
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation, final boolean isLenient) throws
IOException
     {
         for (int i = 0; i < getDataSourceResolvers().length; i++)

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceFileResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceFileResolver.java?rev=1728023&r1=1728022&r2=1728023&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceFileResolver.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceFileResolver.java
Mon Feb  1 23:30:23 2016
@@ -74,12 +74,14 @@ public class DataSourceFileResolver exte
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation) throws IOException
     {
         return resolve(resourceLocation, isLenient());
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation, final boolean isLenient) throws
IOException
     {
         File file;

Modified: commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java?rev=1728023&r1=1728022&r2=1728023&view=diff
==============================================================================
--- commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
(original)
+++ commons/proper/email/trunk/src/main/java/org/apache/commons/mail/resolver/DataSourceUrlResolver.java
Mon Feb  1 23:30:23 2016
@@ -67,12 +67,14 @@ public class DataSourceUrlResolver exten
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation) throws IOException
     {
         return resolve(resourceLocation, isLenient());
     }
 
     /** {@inheritDoc} */
+    @Override
     public DataSource resolve(final String resourceLocation, final boolean isLenient) throws
IOException
     {
         DataSource result = null;



Mime
View raw message