Skip to content
Permalink
Browse files
[WARNING] Remove uneeded redundant interface qualifiers
Idem, this was reported by intelliJ inspections.
  • Loading branch information
chibenwa committed May 28, 2021
1 parent 4a4be4b commit f9d84f626623c956029594ae4ea04c6078ca2cfe
Showing 4 changed files with 16 additions and 16 deletions.
@@ -52,7 +52,7 @@ public interface Multipart extends Body {
*
* @return the list of <code>Entity</code> objects.
*/
public List<Entity> getBodyParts();
List<Entity> getBodyParts();

/**
* Sets the list of body parts.
@@ -25,19 +25,19 @@
public interface ContentDispositionField extends ParsedField {

/** The <code>inline</code> disposition type. */
public static final String DISPOSITION_TYPE_INLINE = "inline";
String DISPOSITION_TYPE_INLINE = "inline";
/** The <code>attachment</code> disposition type. */
public static final String DISPOSITION_TYPE_ATTACHMENT = "attachment";
String DISPOSITION_TYPE_ATTACHMENT = "attachment";
/** The name of the <code>filename</code> parameter. */
public static final String PARAM_FILENAME = "filename";
String PARAM_FILENAME = "filename";
/** The name of the <code>creation-date</code> parameter. */
public static final String PARAM_CREATION_DATE = "creation-date";
String PARAM_CREATION_DATE = "creation-date";
/** The name of the <code>modification-date</code> parameter. */
public static final String PARAM_MODIFICATION_DATE = "modification-date";
String PARAM_MODIFICATION_DATE = "modification-date";
/** The name of the <code>read-date</code> parameter. */
public static final String PARAM_READ_DATE = "read-date";
String PARAM_READ_DATE = "read-date";
/** The name of the <code>size</code> parameter. */
public static final String PARAM_SIZE = "size";
String PARAM_SIZE = "size";

/**
* Gets the disposition type defined in this Content-Disposition field.
@@ -24,17 +24,17 @@
public interface ContentTypeField extends ParsedField {

/** The prefix of all <code>multipart</code> MIME types. */
public static final String TYPE_MULTIPART_PREFIX = "multipart/";
String TYPE_MULTIPART_PREFIX = "multipart/";
/** The <code>multipart/digest</code> MIME type. */
public static final String TYPE_MULTIPART_DIGEST = "multipart/digest";
String TYPE_MULTIPART_DIGEST = "multipart/digest";
/** The <code>text/plain</code> MIME type. */
public static final String TYPE_TEXT_PLAIN = "text/plain";
String TYPE_TEXT_PLAIN = "text/plain";
/** The <code>message/rfc822</code> MIME type. */
public static final String TYPE_MESSAGE_RFC822 = "message/rfc822";
String TYPE_MESSAGE_RFC822 = "message/rfc822";
/** The name of the <code>boundary</code> parameter. */
public static final String PARAM_BOUNDARY = "boundary";
String PARAM_BOUNDARY = "boundary";
/** The name of the <code>charset</code> parameter. */
public static final String PARAM_CHARSET = "charset";
String PARAM_CHARSET = "charset";

/**
* Gets the MIME type defined in this Content-Type field.
@@ -28,13 +28,13 @@ public interface FromLinePatterns {
/**
* Match a line like: From ieugen@apache.org Fri Sep 09 14:04:52 2011
*/
static final String DEFAULT = "^From \\S+@\\S.*\\d{4}$";
String DEFAULT = "^From \\S+@\\S.*\\d{4}$";
/**
* Matches other type of From_ line (without @):
* From MAILER-DAEMON Wed Oct 05 21:54:09 2011
* Thunderbird mbox content: From - Wed Apr 02 06:51:08 2014
*/
static final String DEFAULT2 = "^From \\S+.*\\d{4}$";
String DEFAULT2 = "^From \\S+.*\\d{4}$";


}

0 comments on commit f9d84f6

Please sign in to comment.