james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1058066 - /james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/
Date Wed, 12 Jan 2011 10:57:39 GMT
Author: olegk
Date: Wed Jan 12 10:57:38 2011
New Revision: 1058066

URL: http://svn.apache.org/viewvc?rev=1058066&view=rev
Log:
Removed superfluous declarations from interface methods

Modified:
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/AddressListField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentDispositionField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTransferEncodingField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTypeField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/DateTimeField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxListField.java
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/UnstructuredField.java

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/AddressListField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/AddressListField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/AddressListField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/AddressListField.java
Wed Jan 12 10:57:38 2011
@@ -23,6 +23,6 @@ import org.apache.james.mime4j.dom.addre
 
 public interface AddressListField extends ParsedField {
 
-    public abstract AddressList getAddressList();
+    AddressList getAddressList();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentDispositionField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentDispositionField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentDispositionField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentDispositionField.java
Wed Jan 12 10:57:38 2011
@@ -25,7 +25,7 @@ public interface ContentDispositionField
      * 
      * @return the disposition type or an empty string if not set.
      */
-    public abstract String getDispositionType();
+    String getDispositionType();
 
     /**
      * Gets the value of a parameter. Parameter names are case-insensitive.
@@ -34,14 +34,14 @@ public interface ContentDispositionField
      *            the name of the parameter to get.
      * @return the parameter value or <code>null</code> if not set.
      */
-    public abstract String getParameter(String name);
+    String getParameter(String name);
 
     /**
      * Gets all parameters.
      * 
      * @return the parameters.
      */
-    public abstract Map<String, String> getParameters();
+    Map<String, String> getParameters();
 
     /**
      * Determines if the disposition type of this field matches the given one.
@@ -51,7 +51,7 @@ public interface ContentDispositionField
      * @return <code>true</code> if the disposition type of this field
      *         matches, <code>false</code> otherwise.
      */
-    public abstract boolean isDispositionType(String dispositionType);
+    boolean isDispositionType(String dispositionType);
 
     /**
      * Return <code>true</code> if the disposition type of this field is
@@ -60,7 +60,7 @@ public interface ContentDispositionField
      * @return <code>true</code> if the disposition type of this field is
      *         <i>inline</i>, <code>false</code> otherwise.
      */
-    public abstract boolean isInline();
+    boolean isInline();
 
     /**
      * Return <code>true</code> if the disposition type of this field is
@@ -77,7 +77,7 @@ public interface ContentDispositionField
      * @return the <code>filename</code> parameter value or <code>null</code>
      *         if not set.
      */
-    public abstract String getFilename();
+    String getFilename();
 
     /**
      * Gets the value of the <code>creation-date</code> parameter if set and
@@ -86,7 +86,7 @@ public interface ContentDispositionField
      * @return the <code>creation-date</code> parameter value or
      *         <code>null</code> if not set or invalid.
      */
-    public abstract Date getCreationDate();
+    Date getCreationDate();
 
     /**
      * Gets the value of the <code>modification-date</code> parameter if set
@@ -95,7 +95,7 @@ public interface ContentDispositionField
      * @return the <code>modification-date</code> parameter value or
      *         <code>null</code> if not set or invalid.
      */
-    public abstract Date getModificationDate();
+    Date getModificationDate();
 
     /**
      * Gets the value of the <code>read-date</code> parameter if set and
@@ -104,7 +104,7 @@ public interface ContentDispositionField
      * @return the <code>read-date</code> parameter value or <code>null</code>
      *         if not set or invalid.
      */
-    public abstract Date getReadDate();
+    Date getReadDate();
 
     /**
      * Gets the value of the <code>size</code> parameter if set and valid.
@@ -112,6 +112,6 @@ public interface ContentDispositionField
      * @return the <code>size</code> parameter value or <code>-1</code>
if
      *         not set or invalid.
      */
-    public abstract long getSize();
+    long getSize();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTransferEncodingField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTransferEncodingField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTransferEncodingField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTransferEncodingField.java
Wed Jan 12 10:57:38 2011
@@ -26,6 +26,6 @@ public interface ContentTransferEncoding
      * 
      * @return the encoding or an empty string if not set.
      */
-    public abstract String getEncoding();
+    String getEncoding();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTypeField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTypeField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTypeField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/ContentTypeField.java
Wed Jan 12 10:57:38 2011
@@ -41,7 +41,7 @@ public interface ContentTypeField extend
      * 
      * @return the MIME type or an empty string if not set.
      */
-    public abstract String getMimeType();
+    String getMimeType();
 
     /**
      * Gets the value of a parameter. Parameter names are case-insensitive.
@@ -50,14 +50,14 @@ public interface ContentTypeField extend
      *            the name of the parameter to get.
      * @return the parameter value or <code>null</code> if not set.
      */
-    public abstract String getParameter(String name);
+    String getParameter(String name);
 
     /**
      * Gets all parameters.
      * 
      * @return the parameters.
      */
-    public abstract Map<String, String> getParameters();
+    Map<String, String> getParameters();
 
     /**
      * Determines if the MIME type of this field matches the given one.
@@ -67,7 +67,7 @@ public interface ContentTypeField extend
      * @return <code>true</code> if the MIME type of this field matches,
      *         <code>false</code> otherwise.
      */
-    public abstract boolean isMimeType(String mimeType);
+    boolean isMimeType(String mimeType);
 
     /**
      * Determines if the MIME type of this field is <code>multipart/*</code>.
@@ -76,7 +76,7 @@ public interface ContentTypeField extend
      *         <code>multipart/*</code> MIME type, <code>false</code>
      *         otherwise.
      */
-    public abstract boolean isMultipart();
+    boolean isMultipart();
 
     /**
      * Gets the value of the <code>boundary</code> parameter if set.
@@ -84,7 +84,7 @@ public interface ContentTypeField extend
      * @return the <code>boundary</code> parameter value or <code>null</code>
      *         if not set.
      */
-    public abstract String getBoundary();
+    String getBoundary();
 
     /**
      * Gets the value of the <code>charset</code> parameter if set.
@@ -92,6 +92,6 @@ public interface ContentTypeField extend
      * @return the <code>charset</code> parameter value or <code>null</code>
      *         if not set.
      */
-    public abstract String getCharset();
+    String getCharset();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/DateTimeField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/DateTimeField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/DateTimeField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/DateTimeField.java
Wed Jan 12 10:57:38 2011
@@ -4,6 +4,6 @@ import java.util.Date;
 
 public interface DateTimeField extends ParsedField {
 
-    public abstract Date getDate();
+    Date getDate();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxField.java
Wed Jan 12 10:57:38 2011
@@ -23,6 +23,6 @@ import org.apache.james.mime4j.dom.addre
 
 public interface MailboxField extends ParsedField {
 
-    public abstract Mailbox getMailbox();
+    Mailbox getMailbox();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxListField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxListField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxListField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/MailboxListField.java
Wed Jan 12 10:57:38 2011
@@ -23,6 +23,6 @@ import org.apache.james.mime4j.dom.addre
 
 public interface MailboxListField extends ParsedField {
 
-    public abstract MailboxList getMailboxList();
+    MailboxList getMailboxList();
 
 }
\ No newline at end of file

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/UnstructuredField.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/UnstructuredField.java?rev=1058066&r1=1058065&r2=1058066&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/UnstructuredField.java
(original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/field/UnstructuredField.java
Wed Jan 12 10:57:38 2011
@@ -21,6 +21,6 @@ package org.apache.james.mime4j.dom.fiel
 
 public interface UnstructuredField extends ParsedField {
 
-    public abstract String getValue();
+    String getValue();
 
 }
\ No newline at end of file



Mime
View raw message