mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
"ReceivedDate" was an unused concept. Its value was never set.
This commit is contained in:
parent
f2fe826fb3
commit
ee63564138
@ -34,10 +34,6 @@ public abstract class Message implements Part, Body
|
||||
{
|
||||
myDate = getInternalDate();
|
||||
}
|
||||
if (myDate == null)
|
||||
{
|
||||
myDate = getReceivedDate();
|
||||
}
|
||||
if (myDate != null)
|
||||
{
|
||||
return myDate.before(earliestDate);
|
||||
@ -99,8 +95,6 @@ public abstract class Message implements Part, Body
|
||||
this.mInternalDate = internalDate;
|
||||
}
|
||||
|
||||
public abstract Date getReceivedDate();
|
||||
|
||||
public abstract Date getSentDate();
|
||||
|
||||
public abstract void setSentDate(Date sentDate) throws MessagingException;
|
||||
|
@ -75,12 +75,6 @@ public class MimeMessage extends Message
|
||||
parser.parse(new EOLConvertingInputStream(in));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getReceivedDate()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getSentDate()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user