commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1788043 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java
Date Wed, 22 Mar 2017 00:14:36 GMT
Author: sebb
Date: Wed Mar 22 00:14:35 2017
New Revision: 1788043

URL: http://svn.apache.org/viewvc?rev=1788043&view=rev
Log:
Drop overrides that duplicate overridden code

Modified:
    commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java?rev=1788043&r1=1788042&r2=1788043&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java
(original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/mocks/MockEmailConcrete.java
Wed Mar 22 00:14:35 2017
@@ -16,11 +16,8 @@
  */
 package org.apache.commons.mail.mocks;
 
-import java.util.Map;
-
 import javax.mail.Authenticator;
 import javax.mail.Session;
-import javax.mail.internet.InternetAddress;
 import javax.mail.internet.MimeMessage;
 import javax.mail.internet.MimeMultipart;
 
@@ -101,24 +98,6 @@ public class MockEmailConcrete extends E
     }
 
     /**
-     * @return fromAddress
-     */
-    @Override
-    public InternetAddress getFromAddress()
-    {
-        return this.fromAddress;
-    }
-
-    /**
-     * @return headers
-     */
-    @Override
-	public Map<String, String> getHeaders()
-    {
-        return this.headers;
-    }
-
-    /**
      * @return hostName
      */
     @Override



Mime
View raw message