Author: markt
Date: Sat Jul 10 21:39:58 2010
New Revision: 962922

URL: http://svn.apache.org/viewvc?rev=962922&view=rev
Log:
javax.mail is a dummy implementation - mark it as such to stop Eclipse 
complaining about empty methods and unused parameters

Modified:
    tomcat/trunk/java/javax/mail/Authenticator.java
    tomcat/trunk/java/javax/mail/PasswordAuthentication.java
    tomcat/trunk/java/javax/mail/Session.java
    tomcat/trunk/java/javax/mail/internet/InternetAddress.java
    tomcat/trunk/java/javax/mail/internet/MimeMessage.java
    tomcat/trunk/java/javax/mail/internet/MimePart.java
    tomcat/trunk/java/javax/mail/internet/MimePartDataSource.java

Modified: tomcat/trunk/java/javax/mail/Authenticator.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/Authenticator.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/Authenticator.java (original)
+++ tomcat/trunk/java/javax/mail/Authenticator.java Sat Jul 10 21:39:58 2010
@@ -17,5 +17,5 @@
 package javax.mail;
 
 public class Authenticator {
-
+    // Dummy implementation
 }

Modified: tomcat/trunk/java/javax/mail/PasswordAuthentication.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/PasswordAuthentication.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/PasswordAuthentication.java (original)
+++ tomcat/trunk/java/javax/mail/PasswordAuthentication.java Sat Jul 10 
21:39:58 2010
@@ -16,7 +16,9 @@
  */
 package javax.mail;
 
+...@suppresswarnings("unused") // Dummy implementation
 public class PasswordAuthentication {
     public PasswordAuthentication(String user, String password) {
+        // Dummy implementation
     }
 }

Modified: tomcat/trunk/java/javax/mail/Session.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/Session.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/Session.java (original)
+++ tomcat/trunk/java/javax/mail/Session.java Sat Jul 10 21:39:58 2010
@@ -18,6 +18,7 @@ package javax.mail;
 
 import java.util.Properties;
 
+...@suppresswarnings("unused") // Dummy implementation
 public class Session {
     public static Session getInstance(Properties props, Authenticator auth) {
         return null;

Modified: tomcat/trunk/java/javax/mail/internet/InternetAddress.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/internet/InternetAddress.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/internet/InternetAddress.java (original)
+++ tomcat/trunk/java/javax/mail/internet/InternetAddress.java Sat Jul 10 
21:39:58 2010
@@ -16,7 +16,9 @@
  */
 package javax.mail.internet;
 
+...@suppresswarnings("unused") // Dummy implementation
 public class InternetAddress {
     public InternetAddress(String from) {
+        // Dummy implementation
     }
 }

Modified: tomcat/trunk/java/javax/mail/internet/MimeMessage.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/internet/MimeMessage.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/internet/MimeMessage.java (original)
+++ tomcat/trunk/java/javax/mail/internet/MimeMessage.java Sat Jul 10 21:39:58 
2010
@@ -18,11 +18,15 @@ package javax.mail.internet;
 
 import javax.mail.Session;
 
+...@suppresswarnings("unused") // Dummy implementation
 public class MimeMessage implements MimePart {
     public MimeMessage(Session session) {
+        // Dummy implementation
     }
     public void setFrom(InternetAddress from) {
+        // Dummy implementation
     }
     public void setSubject(String subject) {
+        // Dummy implementation
     }
 }

Modified: tomcat/trunk/java/javax/mail/internet/MimePart.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/internet/MimePart.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/internet/MimePart.java (original)
+++ tomcat/trunk/java/javax/mail/internet/MimePart.java Sat Jul 10 21:39:58 2010
@@ -17,4 +17,5 @@
 package javax.mail.internet;
 
 public interface MimePart {
+    // Dummy implementation
 }

Modified: tomcat/trunk/java/javax/mail/internet/MimePartDataSource.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/mail/internet/MimePartDataSource.java?rev=962922&r1=962921&r2=962922&view=diff
==============================================================================
--- tomcat/trunk/java/javax/mail/internet/MimePartDataSource.java (original)
+++ tomcat/trunk/java/javax/mail/internet/MimePartDataSource.java Sat Jul 10 
21:39:58 2010
@@ -16,7 +16,9 @@
  */
 package javax.mail.internet;
 
+...@suppresswarnings("unused") // Dummy implementation
 public class MimePartDataSource {
     public MimePartDataSource(MimePart part) {
+        // Dummy implementation
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to