1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-28 04:02:19 -05:00

"ReceivedDate" was an unused concept. Its value was never set.

This commit is contained in:
Jesse Vincent 2010-07-10 16:40:00 +00:00
parent f2fe826fb3
commit ee63564138
2 changed files with 0 additions and 12 deletions

View File

@ -34,10 +34,6 @@ public abstract class Message implements Part, Body
{ {
myDate = getInternalDate(); myDate = getInternalDate();
} }
if (myDate == null)
{
myDate = getReceivedDate();
}
if (myDate != null) if (myDate != null)
{ {
return myDate.before(earliestDate); return myDate.before(earliestDate);
@ -99,8 +95,6 @@ public abstract class Message implements Part, Body
this.mInternalDate = internalDate; this.mInternalDate = internalDate;
} }
public abstract Date getReceivedDate();
public abstract Date getSentDate(); public abstract Date getSentDate();
public abstract void setSentDate(Date sentDate) throws MessagingException; public abstract void setSentDate(Date sentDate) throws MessagingException;

View File

@ -75,12 +75,6 @@ public class MimeMessage extends Message
parser.parse(new EOLConvertingInputStream(in)); parser.parse(new EOLConvertingInputStream(in));
} }
@Override
public Date getReceivedDate()
{
return null;
}
@Override @Override
public Date getSentDate() public Date getSentDate()
{ {